Thanks, Benson. I'll have to give thought to my next steps based on your analysis.
We went with Aegis in the first place because it had "hands free" support for all the Collections that we use and classes that we defined (except, of course, for the ones under discussion). My understanding is that moving to JAXB -- even assuming it supports these sort of references -- would require us to either generate or write serializers for various complex types that our web methods pass about. Is that an accurate assessment, or should I delve further into JAXB to see just how off-putting it would be? Are there other DataBindings? Michael -----Original Message----- From: Benson Margulies [mailto:[email protected]] Sent: Saturday, July 11, 2009 2:29 PM To: Michael Berkowitz; CXF Users Subject: CXF-1670 Michael, The result of your labors is to reduce this to the observation that Aegis does not handle a circular object graph. Hibernate, indeed, has nothing special to do with it. When I asked my fellow developers about this on another occasion, the very weak consensus was that adding support for this to Aegis was a questionable idea, and that we should suggest JAXB https://jaxb.dev.java.net/guide/Mapping_cyclic_references_to_XML.html for people who needed this sort of thing. I haven't entirely convinced myself that your case would be covered by this recipe. I'm sorry that you put so much energy into the test case given the outcome. I'm not religiously opposed to coming up with some sort of circle helper for Aegis, but I'm unlikely to find time to do it any time soon. --benson
