Re: Olingo V4 Java Annotation Processor ?

2016-11-30 Thread Ramesh Reddy
Claudio,

It is NO annotation processor, "server-core-ext" framework takes care of much 
of the boilerplate code, and an example of that can be found here 
https://github.com/apache/olingo-odata4/blob/master/lib/server-core-ext/src/test/java/org/apache/olingo/server/example/TripPinServiceTest.java

Original thought was to add-on annotation processor but that never got 
materialized.

Ramesh..


- Original Message -
> Hi Claudio,
> 
> there is currently no Annotation Processor for V4. An approach that does not
> require this much boilerplate code is the Olingo OData Server Extension for
> Java. You can find the JARs on the download page:
> http://olingo.apache.org/doc/odata4/download.html
> Unfortunately I am not aware of documentation regarding this extension.
> 
> If you would like to contribute an Annotation approach please have a look at
> our contribution guide: http://olingo.apache.org/contribute.html
> 
> Thanks & Best Regards,
> Christian
> 
> -Original Message-
> From: Claudio Mauri [mailto:claudio.ma...@limontainformatica.it]
> Sent: Mittwoch, 30. November 2016 09:48
> To: dev@olingo.apache.org
> Subject: Olingo V4 Java Annotation Processor ?
> 
> First of all, sorry if I'm writing to the wrong mailing list, but I presume
> that my question may be answered only by developers of the framework..
> 
> When I started  studying Olingo V4 (I've entirely skipped V2 version) I've
> got the feeling that the library itself is very powerful, but requires
> really a lot of boilerplate code to work with.
> 
> So, I started to adapt the Tutorial provided on Apache Olingo web site (for
> version 4)  to create an equivalent of the DemoEntityProcessor that would be
> able to work with annotated POJO and to call internally an implementation of
> a custom "service" to perform crud operations Only to realize after that
> is exactly  what Olingo V2 Java Annotation processor does !
> Unluckily, I found no documentation about something similar for Olingo V4.
> So, is there something similar already available - or, at least, planned -
> for V4 too ?  Of course I would by far prefer to use an "official"
> implementation of an annotation processor instead of trying to write it
> myself (with few chances to succeed...)
> 
> Thanks for your time and sorry if I bothered you.
> 
> All the bests,
> 
> Claudio
> 
> 
> 
> 
> 
> 
> 
> 
> 


RE: Olingo V4 Java Annotation Processor ?

2016-11-30 Thread Amend, Christian
Hi Claudio,

there is currently no Annotation Processor for V4. An approach that does not 
require this much boilerplate code is the Olingo OData Server Extension for 
Java. You can find the JARs on the download page: 
http://olingo.apache.org/doc/odata4/download.html
Unfortunately I am not aware of documentation regarding this extension.

If you would like to contribute an Annotation approach please have a look at 
our contribution guide: http://olingo.apache.org/contribute.html

Thanks & Best Regards,
Christian

-Original Message-
From: Claudio Mauri [mailto:claudio.ma...@limontainformatica.it] 
Sent: Mittwoch, 30. November 2016 09:48
To: dev@olingo.apache.org
Subject: Olingo V4 Java Annotation Processor ?

First of all, sorry if I'm writing to the wrong mailing list, but I presume 
that my question may be answered only by developers of the framework..

When I started  studying Olingo V4 (I've entirely skipped V2 version) I've got 
the feeling that the library itself is very powerful, but requires really a lot 
of boilerplate code to work with.

So, I started to adapt the Tutorial provided on Apache Olingo web site (for 
version 4)  to create an equivalent of the DemoEntityProcessor that would be 
able to work with annotated POJO and to call internally an implementation of a 
custom "service" to perform crud operations Only to realize after that is 
exactly  what Olingo V2 Java Annotation processor does !
Unluckily, I found no documentation about something similar for Olingo V4. So, 
is there something similar already available - or, at least, planned - for V4 
too ?  Of course I would by far prefer to use an "official" implementation of 
an annotation processor instead of trying to write it myself (with few chances 
to succeed...)

Thanks for your time and sorry if I bothered you.

All the bests,

Claudio