<s>
Jakarta	B-Language
XML	I-Language
Binding	I-Language
(	O
JAXB	B-Language
;	O
formerly	O
Java	B-Language
Architecture	I-Language
for	I-Language
XML	I-Language
Binding	I-Language
)	O
is	O
a	O
software	B-Architecture
framework	I-Architecture
that	O
allows	O
Java	B-Language
EE	O
developers	O
to	O
map	O
Java	B-Language
classes	O
to	O
XML	B-Protocol
representations	O
.	O
</s>
<s>
JAXB	B-Language
provides	O
two	O
main	O
features	O
:	O
the	O
ability	O
to	O
marshal	O
Java	B-Language
objects	O
into	O
XML	B-Protocol
and	O
the	O
inverse	O
,	O
i.e.	O
</s>
<s>
to	O
unmarshal	O
XML	B-Protocol
back	O
into	O
Java	B-Language
objects	O
.	O
</s>
<s>
In	O
other	O
words	O
,	O
JAXB	B-Language
allows	O
storing	O
and	O
retrieving	O
data	O
in	O
memory	O
in	O
any	O
XML	B-Protocol
format	O
,	O
without	O
the	O
need	O
to	O
implement	O
a	O
specific	O
set	O
of	O
XML	B-Protocol
loading	O
and	O
saving	O
routines	O
for	O
the	O
program	O
's	O
class	O
structure	O
.	O
</s>
<s>
It	O
is	O
similar	O
to	O
xsd.exe	O
and	O
XmlSerializer	O
in	O
the	O
.NET	B-Application
Framework	I-Application
.	O
</s>
<s>
JAXB	B-Language
is	O
particularly	O
useful	O
when	O
the	O
specification	O
is	O
complex	O
and	O
changing	O
.	O
</s>
<s>
In	O
such	O
a	O
case	O
,	O
regularly	O
changing	O
the	O
XML	B-Protocol
Schema	O
definitions	O
to	O
keep	O
them	O
synchronised	O
with	O
the	O
Java	B-Language
definitions	O
can	O
be	O
time	O
consuming	O
and	O
error-prone	O
.	O
</s>
<s>
JAXB	B-Language
is	O
one	O
of	O
the	O
APIs	B-Application
in	O
the	O
Java	B-Language
EE	O
platform	O
(	O
formerly	O
Java	B-Language
EE	O
)	O
,	O
part	O
of	O
the	O
Java	B-Language
Web	I-Language
Services	I-Language
Development	I-Language
Pack	I-Language
(	O
JWSDP	B-Language
)	O
,	O
and	O
one	O
of	O
the	O
foundations	O
for	O
WSIT	O
.	O
</s>
<s>
It	O
was	O
also	O
part	O
of	O
the	O
Java	B-Language
SE	I-Language
platform	I-Language
(	O
in	O
version	O
Java	B-Language
SE	I-Language
6-10	O
)	O
.	O
</s>
<s>
As	O
of	O
Java	B-Language
SE	I-Language
11	O
,	O
JAXB	B-Language
was	O
removed	O
.	O
</s>
<s>
JAXB	B-Language
1.0	O
was	O
released	O
in	O
2003	O
,	O
having	O
been	O
developed	O
under	O
the	O
Java	B-Language
Community	I-Language
Process	I-Language
as	O
JSR	B-Language
31	I-Language
.	O
</s>
<s>
In	O
2006	O
JAXB	O
2.0	O
was	O
released	O
under	O
JSR	B-Language
222	I-Language
and	O
Maintenance	O
Release	O
2	O
released	O
in	O
December	O
2009	O
.	O
</s>
<s>
Reference	O
implementations	O
for	O
these	O
specifications	O
were	O
available	O
under	O
the	O
CDDL	B-Application
open	I-Application
source	I-Application
license	I-Application
at	O
java.net	B-Application
.	O
</s>
<s>
The	O
tool	O
""	O
can	O
be	O
used	O
to	O
convert	O
XML	B-Protocol
Schema	O
and	O
other	O
schema	O
file	O
types	O
(	O
as	O
of	O
Java	B-Language
1.6	O
,	O
RELAX	B-Language
NG	I-Language
,	O
XML	B-Language
DTD	I-Language
,	O
and	O
WSDL	O
are	O
supported	O
experimentally	O
)	O
to	O
class	O
representations	O
.	O
</s>
<s>
Classes	O
are	O
marked	O
up	O
using	O
annotations	B-Language
from	O
namespace	O
,	O
for	O
example	O
,	O
and	O
.	O
</s>
<s>
XML	B-Protocol
list	O
sequences	O
are	O
represented	O
by	O
attributes	O
of	O
type	O
.	O
</s>
<s>
In	O
addition	O
,	O
JAXB	B-Language
includes	O
a	O
""	O
tool	O
that	O
can	O
essentially	O
perform	O
the	O
inverse	O
of	O
""	O
,	O
creating	O
an	O
XML	B-Protocol
Schema	O
from	O
a	O
set	O
of	O
annotated	O
classes	O
.	O
</s>
<s>
The	O
table	O
below	O
lists	O
the	O
mappings	O
of	O
XML	B-Protocol
Schema	O
(	O
XSD	O
)	O
data	O
types	O
to	O
Java	B-Language
data	O
types	O
in	O
JAXB	B-Language
.	O
</s>
