Home

This Chapter
-Chapter 11: Java Architecture for XML Binding
-Introduction to JAXB
-Marshalling Java Objects
-Unmarshalling
-Summary

Table of Contents
-Introduction
-Chapter 1: Core Libraries
-Chapter 2: Dynamic Compilation
-Chapter 3: Scripting
-Chapter 4: Networking
-Chapter 5: Swing Updates
-Chapter 6: Abstract Window Toolkit
-Chapter 7: Internationalization
-Chapter 8: Java Database Connectivity 4.0
-Chapter 9: XML Digital Signature API
-Chapter 10: Streaming API for XML
-Chapter 11: Java Architecture for XML Binding
-Chapter 12: Web Services
-Chapter 13: JavaBeans Activation Framework
-Chapter 14: User-Defined MXBeans
-Chapter 15: Concurrency Updates
-Appendix A: Enums
-Appendix B: Generics
-Appendix C: Annotations

Previous
Next

 

Chapter 11

Java Architecture for XML Binding

Java 6 includes the reference implementation for Java Architecture for XML Binding (JAXB) 2.0, which is defined in JSR 222 (http://jcp.org/en/jsr/detail?id=222). The API can be found in the javax.xml.bind package and its subpackages. JAXB 2.0 offers support for binding Java to XML, with the help of the annotation types in the javax.xml.bind.annotation package. Unlike JAXB 1.0 that can only convert XML to Java, JAXB 2.0 supports Java-to-schema binding as well.

This chapter presents a brief tutorial on JAXB for the uninitiated and provides an example on the new features in JAXB 2.0

Previous
Next