Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/Examples/rbarkhousetemp
< EclipseLink | Examples
Java Architecture for XML Binding (JAXB) Example
EclipseLink 1.0.1 October 2008
This example demonstrates how to use the EclipseLink JAXB compiler. A Java object is retrieved from (unmarshaled) and converted to (marshaled) an XML file. The example uses the Customer
object-model and a javax.xml.bind.JAXBContext
to demonstrate EclipseLink Object to XML (MOXy) mappings and features.
This example demonstrates how to:
- Use the EclipseLink JAXB compiler to generate the JAXB 2.0 compliant classes and necessary EclipseLink metadata
- Retrieve objects from XML
- Modify objects
- Convert objects to XML