Join Books.org — it's free

Web Programming/Development, Computer Programming, Internet & World Wide Web, Programming Languages
Java & XML by Brett McLaughlin — book cover

Java & XML

by Brett McLaughlin
Write a review
Log in to track your reading progress.

Overview

While the XML "buzz" still dominates talk among Internet developers, the critical need is for information that cuts through the hype and lets Java programmers put XML to work. Java & XML shows how to use the APIs, tools, and tricks of XML to build real-world applications, with the end result that both the data and the code are portable.

This second edition of Java & XML adds chapters on Advanced SAX and Advanced DOM, new chapters on SOAP and data binding, and new examples throughout. A concise chapter on XML basics introduces concepts, and the rest of the book focuses on using XML from your Java applications. Java developers who need to work with XML, or think that they will in the future—as well as developers involved in the new peer-to-peer movement, messaging, or web services—will find the new Java & XML a constant companion.

This book covers:

  • The basics of XML, including DTDs, namespaces, XML Schema, XPath, and XSL
  • The SAX API, including all handlers, the SAX 2 extensions, filters, and writers
  • The DOM API, including DOM Level 2, Level 3, and the Traversal, Range, CSS, Events, and HTML modules.
  • The JDOM API, including the core, a look at XPath support, and JDOM as a JSR
  • Using web publishing frameworks like Apache Cocoon
  • Developing applications with XML-RPC
  • Using SOAP and UDDI for web services
  • Data Binding, using both DTDs and XML Schema for constraints
  • Building business-to-business applications with XML
  • Building information channels with RSS and dynamic content with XSP

Includes a quick reference on SAX 2.0, DOM Level 2, and JDOM.

About the Author, Brett McLaughlin

Brett McLaughlin has been working in computers since the Logo days. (Remember the little triangle?) He currently specializes in building application infrastructure using Java and Java-related technologies. He has spent the last several years implementing these infrastructures at Nextel Communications and Allegiance Telecom, Inc. Brett is one of the co-founders of the Java Apache project Turbine, which builds a reusable component architecture for web application development using Java servlets. He is also a contributor of the EJBoss project, an open source EJB application server, and Cocoon, an open source XML web-publishing engine. He is author of the soon-to-be-released O'Reilly book, Building Java Enterprise Applications.

Reviews

There are no reviews yet. Log in to write one.

Editorials

From Barnes & Noble

The 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

Booknews

"A guide for Java programmers, showing how to build real-world applications with XML featuring portable code and data. Early chapters focus on getting grounded in XML and core Java APIs for handling XML, and include coverage of the latest API, JDOM 1.0. Later chapters focus on specific XML topics such as Web publishing frameworks, XML for configurations, and XML schema. Includes a case study of creating inter- and intra-business communication channels using XML as a portable data format. The author specializes in building application infrastructure using Java."
--Annotation c. Book News, Inc., Portland, OR (booknews.com)

From The Critics

Java and XML share features that are ideal for building Webbased enterprise applications including platform independence, extensibility, reusability, and global language support. Both are based on industry standards. Together Java and XML allow enterprises to simplify and lower their costs of information sharing and data exchange. In Java and XML, Brett McLaughlin draws upon his considerable expertise and experience to show the reader how to put these Java and XML together and thereby build realworld applications in which both the code and the data are truly portable. Very highly recommended for anyone developing software for electronic commerce, Java and XML covers the most recent version of DOM specification and the SAX API, and will become an indispensable, invaluable reference.

Book Details

Published
August 22, 2001
Publisher
Cambridge, Mass. : O'Reilly, 2001.
Pages
528
Format
Paperback
ISBN
9780596001971

More by Brett McLaughlin

Similar books