Chapter 13. JAXB

By Steve Haines

In This Chapter

Java provides an API for reading, writing, and modifying XML documents, known as the Java API for XML Parsing (JAXP). It is effective, but it is not necessarily very intuitive to use. When you know absolutely the rules or the Data Type Definition (DTD) that define a specific category of XML documents, you can leverage that information to greatly simplify your development efforts. The Java API for XML Binding (JAXB) provides a two-way mapping between XML documents and Java objects.

The JAXB takes a DTD file and a binding schema (something you write that defines ...

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