Beta Draft: 2013-04-04
This chapter describes how to use JPA with the Java Architecture for XML Binding (JAXB)—the Java EE standard for mapping POJOs (Plain Old Java Objects) to XML—and its Mapping Objects to XML (MOXy) extensions to map JPA entities to XML. Mapping JPA entities to XML is useful when you want to create a data access service with Java API for Restful Web Services (JAX-RS), Java API for XML Web Services (JAX-WS), or Spring.
This chapter contains the following topics:
Users need to map JPA entities to XML.
EclipseLink provides support for the JAXB standard through EclipseLink MOXy extensions.
EclipseLink 2.4 or later.
See the following EclipseLink and JAXB examples for related information: