- Shopping Bag ( 0 items )
From Barnes & NobleThe Barnes & Noble Review
Java: portable code. XML: portable data. The two should go together like peas in a pod. But, as Java developers have discovered, it's not always as easy as advertised. There are solutions, however, and you'll find them in Java and XML, the industry's most systematic guide to integrating these two vital technologies.
Brett McLaughlin starts with a detailed grounding in XML for Java developers, followed by in-depth coverage of the two most widely-used Java tools for handling XML data: the Simple API for XML, and the Document Object Model (DOM). As McLaughlin has pointed out elsewhere, neither of these tools are perfect: SAX is fast but unfamiliar, and doesn't allow changes to underlying XML data. DOM is powerful but requires a far deeper understanding of XML. Still, if you use them judiciously, you can accomplish quite a bit — and McLaughlin shows you how, identifying challenges and pitfalls, and presenting realistic solutions.
Next, McLaughlin introduces the Java APIs for XML, which offers Java developers what they really want: a way to obtain a DOM document or SAX-compliant parser through a simple factory class, without worrying about the complexities of varying parser implementations. There's also an authoritative look at the new JDOM 1.0 spec — which McLaughlin co-wrote. JDOM is shaping up as a breakthrough: it enables Java developers to manipulate XML using familiar techniques and usage patterns, without worrying about strict tree models.
In the second half of the book, McLaughlin lays out specific solutions to the issues Java andXMLdevelopers face most often: using XML with remote procedure calls; storing configuration data inXML formats; XML-based B2B communication; and more. From start to finish, Java and XML is thorough, carefully written, replete with code, and extremely realistic.
—Bill Camarda, bn.com editor