Chapter 5. The JAXB 2.0 Data Binding

This chapter describes how to use JAXB 2.0 for SOA. It is written for programmers and contains lots of details and code examples. JAXB 2.0 is critical to SOA because it supports type mappings. A type mapping is a map from a Java type (e.g., a class) to an XML Schema component (e.g., a complex type definition). Serializers are used to implement type mappings. A serializer converts an instance of a type mapping’s Java type into an instance of its XML Schema component. A deserializer does the reverse.

The preceding chapter discusses the central importance of type mappings for SOA. Section 4.5 of that chapter discussed that the ability to implement type mappings—in other words, to do serialization—is critically ...

Get SOA Using Java™ Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.