users@jaxb.java.net

JAXB 2 / JAXB 1 -- Re: JAXB Vs Castor

From: Eduardo Pelegri-Llopart <pelegri_at_sun.com>
Date: Tue, 11 Jul 2006 17:43:47 -0700

> But when you look at JAXB, please look
> at JAXB 2.0.1, not JAXB 1.0.6.

indeed! Very different beasts..

Kohsuke Kawaguchi wrote:
> 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.
>