Introduction

In Chapter 14, “Java and XML: Introduction to XML,” we introduced XML and explained how this versatile markup language can be used to describe data in a platform-independent and tool-independent manner. As developers, we need to be able to use the data described by XML in our applications. This involves reading XML-formatted documents from various sources and parsing the documents into a useful representation for our application. With Java, this means that we usually parse these documents into one or more objects in our application. But it is highly probable that our applications will not be limited to the role of only consuming XML-formatted data; our applications will also be required to produce XML-formatted data.

Fortunately, ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.