JAXB Architectural Overview
2
B
INDING BETWEEN
XML S
CHEMA AND
J
AVA
C
LASSES
Architectural Overview
Figure 21 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.