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.
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 a dual license - CDDL 1.1 and GPL 2.0 with Class-path Exception. That means you can choose which one of the two suits your needs better and use it under those terms.