users@jaxb.java.net

Re: JAXB Vs Castor

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 11 Jul 2006 12:49:29 -0700

Akash Pandya wrote:
> Hi,
> I am using Castor opensource tool for java binding in project. It works fine
> for the requirements we have (We just do XML to Java and Java to XML
> binding).
>>>From last few days I was looking into JAXB1.0.6 (we use JDK 1.4.2.11) to
> implement same work. Everything works out fine but the problem is Java class
> structure created in JAXB is much more different than generated by Castor.
> So, we require to modify our code to make it work with JAXB.
>
> Is there any way in JAXB to generate same Java Class structure that is
> generated by Castor? We are interested in plug n play components of JAXB
> and Castor. So we can adapt to what ever technology we want to with no
> actual code change.
>
> Any help is greatly appreciated.

I agree with things Aleksei said. But when you look at JAXB, please look
at JAXB 2.0.1, not JAXB 1.0.6.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com