background image

JAXB Architectural Overview

<< 2. Binding between XML Schema and Java | The JAXB Binding Process >>
<< 2. Binding between XML Schema and Java | The JAXB Binding Process >>
2
B
INDING BETWEEN
XML S
CHEMA AND
J
AVA
C
LASSES
Architectural Overview
Figure 2­1 shows the components that make up a JAXB implementation.
Figure 2­1 JAXB Architectural Overview
A JAXB implementation consists of the following architectural components:
·
schema compiler
: binds a source schema to a set of schema derived pro-
gram elements. The binding is described by an XML-based binding lan-
guage.
·
schema generator
: maps a set of existing program elements to a derived
schema. The mapping is described by program annotations.
·
binding runtime framework
: provides unmarshalling (reading) and mar-
shalling (writing) operations for accessing, manipulating and validating
XML content using either schema-derived or existing program elements.