users@jaxb.java.net

Re: JAXB marshalling recurzive object strucutre

From: Ed Mooney <Ed.Mooney_at_Sun.COM>
Date: Wed, 02 Aug 2006 09:57:52 -0400

Hi Norbert,

JAXB throws an exception when it detects a cycle. There's no way around
it, that I know.

Regards,
-- 
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Csík Norbert wrote:
> Hi!
> 
> Can JAXB marshall an the following object structure, and if so then how?
> 
> pers1.name = "John"
> pers1.firm = firm1
> 
> firm1.name = "ACME"
> firm1.directorPerson = pers1
> 
> marshal(pers1)
> 
> Thanks,
>