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

From Eclipsepedia

Jump to: navigation, search
(New page: == Bootstrap DBWSBuilder from XMLEntityMappings ==)
 
(Bootstrap DBWSBuilder from XMLEntityMappings)
Line 1: Line 1:
 
== Bootstrap DBWSBuilder from XMLEntityMappings ==
 
== Bootstrap DBWSBuilder from XMLEntityMappings ==
 +
DBWSBuilder currently builds an EclipseLink object relational (OR) project from the DDL meta-model returned from the DDLParser.  This project is then used to build the various files (XSD, WSDL, etc) required for the web service.  This processing is complex and hard to maintain.  JPAMetadataGenerator ([http://wiki.eclipse.org/EclipseLink/Development/DBWS/MetadataGenerationFromDDLMetaModel Metadata Generation from DDL meta-model]) can generate and XMLEntityMappings instance from the DDL meta-model;  the XMLEntityMappings instance contains an OR project, and DBWSBuilder should be bootstrapped from this as opposed to creating the project.

Revision as of 09:04, 30 July 2013

Bootstrap DBWSBuilder from XMLEntityMappings

DBWSBuilder currently builds an EclipseLink object relational (OR) project from the DDL meta-model returned from the DDLParser. This project is then used to build the various files (XSD, WSDL, etc) required for the web service. This processing is complex and hard to maintain. JPAMetadataGenerator (Metadata Generation from DDL meta-model) can generate and XMLEntityMappings instance from the DDL meta-model; the XMLEntityMappings instance contains an OR project, and DBWSBuilder should be bootstrapped from this as opposed to creating the project.