to the main page about the tutorial  THE XML REVOLUTION  -  TECHNOLOGIES FOR THE FUTURE WEB back up next

The JDOM API

DOM is too complicated to suit many programmers.

Since it is a general API, it does not use special Java features - for example, existing collection classes are ignored


JDOM is designed to be simple and Java-specific.

JDOM (v1.0beta10) is a small (152K) library, since it is used on top of either DOM or SAX.
- a full XML parser is complex, dealing with encodings, namespaces, and entities

It shares the simple view of XML trees presented in these slides.

back COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH next