The Bindmark results show raw performance for just reading and writing
XML to/from Java objects, with minimal accessing of the data from the
objects. The point I was making in my email is that XMLBeans appears to
add a lot of overhead to the actually accessing of data values from the
data bound objects; if Bindmark did more processing of data from the
unmarshalled objects XMLBeans would probably show up considerably worse
than it does in the performance results.
- Dennis
JimM wrote:
Here is some info reference material to substantiate or reflect on
regarding XML / Binding:
https://bindmark.dev.java.net/
Thought it may help going forward.
*/Dennis Sosnoski <[EMAIL PROTECTED]>/* wrote:
Actually, I don't think XMLBeans classes work that well as value
objects
(I assume that's what you mean by VO). I tried converting a web
services
test program I'd written to Axis2 using XMLBeans classes for the
data,
and was stunned to see the performance drop by a factor of up to 10
compared to other implementations. The reason turned out to be that
accessing data from XMLBeans generated classes is much slower than
accessing the data from ordinary classes. Once I replaced the
XMLBeans
classes with ordinary Java classes for use by the program logic, and
only used the XMLBeans classes for reading and writing XML, the
performance increased dramatically. This was an unusual case, in that
the processing made a lot of accesses to the data values in the
objects,
but does demonstrate a real issue.
- Dennis
Shaun Farrugia wrote:
> ... Right now XMLBeans is really good at being a VO and
unmarshalling
> to and from XML but I have no way to put business operations on
these
> objects without using containment.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
<http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]