Skip to main content

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.

Jump to: navigation, search

EclipseLink/Development/DBWS/MetadataSupport

< EclipseLink‎ | Development‎ | DBWS
Revision as of 12:53, 4 January 2013 by Unnamed Poltroon (Talk) (Design document for adding JPA/JAXB metadata support to DBWS)

Design document for adding JPA/JAXB metadata support to DBWS

The purpose of this document is to outline what changes are to be made to the DBWS code base to enable support for reading/writing JPA/JAXB metadata in place of EclipseLink deployment XML. This feature is required to resolve EclipseLink Bug 332227.

The DBWS builder constructs OR/OX projects, which are marshalled to a given output stream by the builder, and placed in the generated .war archive for use by the runtime. The builder currently utilizes the legacy EclipseLink deployment XML format to marshal/unmarshal these project files, but is required to move to the modern JPA/JAXB metadata format.

JAXB Metadata support

The existing code utilizes the ObjectPersistenceWorkbenchXMLProject class to marshal the OX project at design time and unmarshal it at runtime. The code will be change to instead use JAXB metadata for these operations. The following pages contain information pertaining to EclipseLink support for JAXB annotations via XML metadata:

Back to the top