Service-oriented design abstracts data into a common exchange format. Typically, this format is an XML grammar defined in XML Schema. To save the developer from working directly with XML documents, the JAX-WS specification calls for XML Schema types to be marshaled into Java objects. This marshaling is done in accordance with the Java Architecture for XML Binding (JAXB) specification. JAXB defines bindings for mapping between XML Schema constructs and Java objects and rules for how to marshal the data. It also defines an extensive customization framework for controlling how data is handled.
Contents
- 9. Basic Data Binding Concepts
- 10. Using XML Elements
- 11. Using Simple Types
- 12. Using Complex Types
- 13. Using Wild Card Types
- 14. Element Substitution
- 15. Customizing How Types are Generated
- 16. Using A
JAXBContext
Object