The Java™ Architecture for XML Binding (JAXB) provides an API and tools that automate the mapping between XML documents and Java objects.
The JAXB framework enables developers to perform the following operations:
- Unmarshal XML content into a Java representation
- Access and update the Java representation
- Marshal the Java representation of the XML content into XML content
JAXB gives Java developers an efficient and standard way of mapping between XML and Java code. Java developers using JAXB are more productive because they can write less code themselves and do not have to be experts in XML. JAXB makes it easier for developers to extend their applications with XML and Web Services technologies.
Codemodel is an independent library for java code generation, which is released separately and integrated in JAXB. Besides JAXB it is used in istack-commons-project, which in turn is a dependency of JAXB
XML Schema Object Model (XSOM) is a Java library that allows applications to easily parse XML Schema documents and inspect information in them. It is released separately because it is a dependency of jaxb-fi, which in turn is a dependency of JAXB
RNGOM and relaxng-datatype under jaxb-ri/external are tools for working with RelaxNG. It is released separately because it is a dependency of several jaxb-ri projects including jaxb-ri/xsom above.
Documentation for this release consists of the following:
- Release Notes
- Running the binding compiler (XJC): XJC, XJC Ant Task
- Running the schema generator (schemagen): SchemaGen, SchemaGen Ant Task
- JAXB Users Guide
- Sample Apps
- JAXB FAQs Frequently Asked Questions
JAXB is licensed under Eclipse Distribution License v. 1.0, which is available at http://www.eclipse.org/org/documents/edl-v10.php.
We use GlassFish Governance Policy, which means we can only accept contributions under the terms of OCA.
- Please use Metro and JAXB forum for feedback
- JAXB-RI project home page: https://javaee.github.io/jaxb-v2/
- METRO project
- JSR 222
- Download standalone distribution