Hello friend.

Firstly you should expect a castor bias when posting to the castor list. I
can only offer reasons why I chose Castor over Jaxb.

I started by looking at xml binding by considering Sun's jaxb, and quickly
decided to change to castor for these reasons:

1) I use borland's JBuilder 6 which comes bundled with many extras like
Castor 0.9.3.9. This suggested to me a degree of confidence by borland, in
this technology.

2) You will notice that JAXB comes only with a Shell-script launcher for the
JAXB schema compiler. If you are not developing in a unix environment, this
will not work for you. (unless you install cygwin or something similar which
emulates the unix environment.) There is no xjc launcher for Windows.

3) JAXB is currently in version 1.0 early release, and has not been in major
version 1 for very long. I downloaded jaxb almost 6 weeks ago, and it had
not been moved to version 1.0 at that time. The point is that this
technology is very immature, and you can expect to spend much time at your
mail client, interrogating the jaxb mail list.

4) The only supported schema language in jaxb is the DTD sublanguage of the
XML 1.0.

5) Only future versions of jaxb are expected to include support for the W3C
XML Schema.

6) Error handling in the schema compiler is very primitive. The first
failure during DTD parsing, binding-schema parsing, or code generation
causes the compiler to exit immediately with an error message of sometimes
dubious quality.

Finally, if you intend doing any database work with xml, you should probably
be thinking about Castor JDO. The Java-XML Data-Binding Framework (Castor
XML) has been merged with Castor JDO for users who need both O/R Mapping and
Java-XML Data-Binding together.

Kind regards
Scott.


----- Original Message -----
From: "Alessandro Salina" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 3:27 PM
Subject: [castor-dev] Castor vs Jaxb


> Hi, friends there.
>
> I'm quite new here. So if you find my questions silly, don't laugh. :-)
>
> I must decide if use Castor or Jaxb in my application.
>
> 1)Why should i use Castor instead Jaxb and vice versa??
> 2)What are the principle differences?
> 3)I read in a message from this mailing list that "JAXB forces a
base-class
> for generated classes" but i don't undertstand what exactly means!
>
> tx everybody!!
>
> Ale
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to