Chapter {9}

JAXP

Java API for XML Processing (JAXP) enables applications to read, write, manipulate, and transform XML data. Chapter 3 talked about XML standards and what they mean to developers. This chapter provides the reader an insight into the JAXP API and it provides a standard interface from Java applications, leveraging the same XML standards. It is assumed that the reader is sufficiently familiar with XML; this chapter is not intended to be a tutorial on XML.

From an architect’s perspective, XML usage in an application can be divided into two broad categories.

• Presentation-centric: XML meant for rendering, for example, an XHTML page

• Data-centric: XML that represents data–for example, a purchase order passed between business partners ...

Get Java Web Services Architecture 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.