What Is JDOM?

JDOM is an API that is currently being designed by a group of programmers led by Brett McLaughlin and Jason Hunter. As it says at jdom.org, “JDOM should solve 80% (or more) of Java/XML problems with 20% (or less) of the effort.” What this means is that JDOM is a simplified way of dealing with XML. It doesn't do everything, but what it does do is a lot easier than with DOM or SAX. (It also does it in such a way that we can move our data to and from the DOM and SAX APIs without much of a problem.)

JDOM is also quickly gaining acceptance in the XML community. In fact, JDOM will reportedly be included in the Xerces Refactoring Initiative, which will be rewriting the Xerces parser from the ground up. (At the time of this writing, Xerces ...

Get XML and Java™ from scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.