Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML extreme slowness

843834Feb 7 2003 — edited Feb 10 2003
Hi there,

It seems like using XML in java is extremely slow, especially when using XSL.
In my application where I had to transform large XML documents using XSL, performance was extremely poor. I tried several implementations like Xalan, Saxon and XT. There are some speed differences, but no implementation is fast (Saxon seemed fastest in my case). Later I transformed the XML manually without XSL which was a lot faster already but still not good at all.
In the end, I tried to use msxml to to transform using XSL again which made my application more than a 100 times faster!
Same XSL, just a call to msxml to make a transformation instead of a call to the java apis.

My experience with performance in java is that java can be real fast, but XML/XSL performance with java is just plain rediculous!
I just don't get it.

Any thoughts on this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2003
Added on Feb 7 2003
3 comments
119 views