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!

Confused: Xerces2, dom4j or JDK 1.4 built-in JAXP

843834Feb 24 2006 — edited Feb 27 2006
I'm confused after reading the description and example written using Xerces2-J, dom4j, JAXP.

We can't use JDK 1.5 which come with Xerces, isn't it? And dom4j is a modified/enhanced JDOM API and even Hibernate can use dom4j API.

What is the difference between them? Is it enough using JDK 1.4 built-in library functions? (Only javax.xml.parsers.*, org.w3c.dom.*, org.xml.sax.*)

Which is the easiest and fastest for:
i. generating XML from some java objects e.g. ArraryList, String?
ii. reading XML, validating against schema and saving to database?

Also I don't know what the comparison of the APIs is for:
http://www.sosnoski.com/opensrc/xmlbench/results.html

Thank you!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2006
Added on Feb 24 2006
6 comments
557 views