[jdom-interest] [benchmark] JAXB VS JDOM

Tatu Saloranta cowtowncoder at yahoo.com
Wed Apr 13 17:56:28 PDT 2005


--- "Trikannad, Mahesh"
<mahesh.trikannad at capgemini.com> wrote:
> 
> I was referring to the Binding and Unmarshalling in
> JAXB.

Which is exactly what Elliotte pointed out -- JDOM
does not in and of itself do any data binding
(unmarshalling); it's just a XML tree builder on top
of a parser; whereas JAXB may use some other mechanism
for binding its data to a set of Java objects.
As such, you can only compare performance of a
specific application of JDom, namely data binding,
using either a package that uses JDom, or
custom-written binding. You can't (or rather,
shouldn't) compare performance of two different things
(XML tree building and data binding), and expect
meaningful results.

-+ Tatu +-



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/


More information about the jdom-interest mailing list