You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Bolz, Michael" <mi...@sap.com> on 2013/10/10 13:59:08 UTC

Introduce (Java) Annotations for definition of EDM

Hi together,

A few moments ago I created the Jira Issue/Feature request "Introduce (Java) Annotations for definition of EDM" (https://issues.apache.org/jira/browse/OLINGO-32).

The idea behind this feature is to create your model as POJOs which then can be annotated with special {{@EdmXXX}} (Java) annotations to define the EDM for an OData Service.
Based on these annotation then the {{edmx}} document ({{$metadata}}) can be generated as well as a generic {{Processor}} ({{ODataSingleProcessor}}) for e.g. {{JSON}} can be written.
IMHO will this fill the gap between the currently existing JPA processor extension (which allows easy connection to a database with JPA annotations) and the need to do a full implementation of an Processor (ODataSingleProcessor).

As initial contribution and starting point for discussions about this feature a branch with name {{PocEdmAnnotationsExtension}} is created with a basic Proof of Concept.

Please share your thoughts and discuss at the Issue how the initial PoC can be extended and then finally merged into the master branch.
Implementation support is also welcome  ;o)

Kind regards,
Michael