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

Difference between revisions of "EclipseLink/Development/DBWS/MetadataSupport"

(JAXB Metadata support)
(Design document for adding JPA/JAXB metadata support to DBWS)
Line 1: Line 1:
 
== Design document for adding JPA/JAXB metadata support to DBWS  ==
 
== Design document for adding JPA/JAXB metadata support to DBWS  ==
This document explains the 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 [https://bugs.eclipse.org/bugs/show_bug.cgi?id=332227 Bug 332227].
+
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 [https://bugs.eclipse.org/bugs/show_bug.cgi?id=332227 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 ===
 
=== JAXB Metadata support ===
The existing code utilizes the ObjectPersistenceWorkbenchXMLProject class to marshal the OX project to the given output stream.
+
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:
 +
*http://wiki.eclipse.org/EclipseLink/DesignDocs/277920
 +
*http://wiki.eclipse.org/EclipseLink/DesignDocs/293925
 +
*http://wiki.eclipse.org/EclipseLink/DesignDocs/293925/MOXyExtensions

Revision as of 12:53, 4 January 2013

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