JAXB
JAXB
1
Objectives
2
• Introduction JAXB
• JAXB example
Introduction JAXB
3
all parameters.
Features of JAXB 2.0
4
2) Support for all W3C XML Schema features: it supports all the W3C schema
unlike JAXB 1.0.
4) Small Runtime Library: it required small runtime library that JAXB 1.0.
• With data binding, there are three distinct processes that can
occur one after another, in differing order, or in completely
unrelated processes.
– Class generation
– Unmarshaling
– Marshaling
Data Binding
6
Schema or DTD
definition
Schema comiler Generated
(eg.XJC) Classes(.java file)
JAXB Binding
schema
Resultant class
(.java file)
Data Binding – Step by Step
8