My serializer is very simple and relies on abylities from JAXB.
I think, at this stage of developing, JAXB doesnt care of any "graph"
issues, serialisation by JAXB is designed for XML documents they are
usually trees not graphs, and JAXB instances, they are "tree formed" so
they are right serialized and deserialized.
Radek Wisniewski
On Tue, 14 Aug 2001, Soumen Sarkar wrote:
> Does it take care of cycles in object graph to be serialized. Apache SOAP
> serializer
> does not. It runs out of stack. Please consider the following java object:
>
> class Employee
> {
> Employee[] subordinates;
> Employee manager;
> }
>
> It is easy to have cycles in such data structures(not a bad design or
> illegal thing to do).
> Will your serializer take care of flattening the object graph with cycles?
> JAVA RMI serialization takes care of serializing any arbitrary object graph
> to a linear serialized stream keeping all graph semantics intact.
>
> Regards,
> Soumen Sarkar.
>
> -----Original Message-----
> From: Glen Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 14, 2001 9:40 AM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Serializer for JAXB
>
>
>
> I'd love to see it. Would you be willing to post it to the list?
>
> > -----Original Message-----
> > From: Radek Wisniewski [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 14, 2001 12:09 PM
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: Serializer for JAXB
> >
> >
> > I'v written one, works.
> > I have'n tested to much but i hope its good.
> >
> > Is anybody interested in?
> >
> >
> > Radek Wisniewski
> >
>