[jdom-interest] [benchmark] JAXB VS JDOM

Elliotte Harold elharo at metalab.unc.edu
Wed Apr 13 13:51:30 PDT 2005

Trikannad, Mahesh wrote:

>  From the article, it seems like, classes are created offline. Agreed no 
> Objects are created, so my statement that a DOM Tree is created offline 
> is not strictly correct. I meant to say, it probably creates the classes 
> or inheritance structure before hand.

Yes, but JDOM creates the classes and inheritance structure before hand 
as well. In fact, unlike JAXB, it doesn't need a separate schema 
compilation step. The classes are there ready to use when you download 
JDOM. There are plenty of differences between JDOM and JAXB. This just 
isn't one of them, though.

Elliotte Rusty Harold  elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!

More information about the jdom-interest mailing list