The Need For Additional Tools

So far, you can read and write XML files and use XSL to translate an XML file from one form to another. You can go a long way with just these capabilities, but there are many more tools out there that solve common problems as well. Tools that automatically copy data from Java objects to XML and from XML to Java are extremely useful. DOM might give you a representation of the data in the XML file, but as a developer, you're better off working with objects that represent the data. In other words, it's better to work with a Person object than it is to work with a DOM Element whose tag name is Person.

There are two basic philosophies when it comes to automatically translating between XML and Java, and the difference ...

Get Special Edition Using Java™ 2 Enterprise Edition 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.