[jdom-interest] JDOM vs electric

graham glass graham-glass at mindspring.com
Tue Feb 12 16:08:17 PST 2002

hi dennis,

we'll run your benchmarks independently to verify them.

the last time we chatted, it seemed like you were getting
significantly different results from us, which brought
setup and configuration issues to light.


-----Original Message-----
From: Dennis Sosnoski [mailto:dms at sosnoski.com]
Sent: Tuesday, February 12, 2002 11:22 AM
To: graham glass
Cc: jdom-interest at jdom.org; Justin Wood
Subject: Re: [jdom-interest] JDOM vs electric

Hi Graham,

When you update the page, I'd appreciate it if you'd add a link to my
benchmarks as well (either that, or at least take out the line about
being glad to link to other benchmarks).

For more representative results you should also look at doing a couple
of things differently in your test case. If EXML+ 4.0 still discards
whitespace sequences (in violation of the XML spec) you should use a
test document which does not include any extra whitespace. You should
also use something other than Xerces 1 as the parser for the JDOM test,
since Xerces 1 shows very poor performance on small documents (Xerces 2
is better). Finally, you should include dom4j as a comparison, since
dom4j is considerably more mature than JDOM and includes a number of
performance optimizations.

  - Dennis

graham glass wrote:

>hi there,
>one new thing worth mentioning is that EXML+ 4.0, due out in a couple
>of weeks, includes native support for DOM. so in addition to the
>you now get native DOM compatability.
>after releasing EXML+ 4.0, we'll rerun the benchmarks using xerces 2.0
>and the latest version of DOM, and update the JDOM benchmark page.
>EXML+ 4.0 also includes transparent bidirectional serialization of Java
>objects to/from XML, Java persistence using XML, XML document pattern
>and many other goodies. it includes the source code for EXML and is free
>for most commercial uses.
>-----Original Message-----
>From: jdom-interest-admin at jdom.org
>[mailto:jdom-interest-admin at jdom.org]On Behalf Of Justin Wood
>Sent: Tuesday, February 12, 2002 12:17 AM
>To: jdom-interest at jdom.org
>Subject: [jdom-interest] JDOM vs electric
>I had a look in the mail archives from last year regarding this topic.
>Round about March Jason and Graham Glass (from the Mind Electric) did a bit
>of mudslinging.
>Graham said he would amend his page:
>Which he hasn't done.   I'm sure that JDOM has come quite a way in the last
>year and this page is even more out of date.   Has anyone done a benchmark?
>Are there big differences, apart from the constuction of the XML object?
>anyone used both and done a pro's and cons?
>To control your jdom-interest membership:
>To control your jdom-interest membership:

More information about the jdom-interest mailing list