Binding between XML Schema and Java Classes

The JavaTrademarked Architecture for XML Binding (JAXB) provides a fast and convenient way to bind between XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling XML instance documents into Java content trees, and then marshalling Java content trees back into XML instance documents. JAXB also provides a way generate XML schema from Java objects.

This chapter describes the JAXB architecture, functions, and core concepts. You should read this chapter before proceeding to Chapter 3, which provides sample code and step-by-step procedures for using JAXB.