Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Olingo and EJB

$
0
0

Hi everyone,

 

     I'm not entirely sure if this is the right place to ask this question. Anyways, I'm trying to build an OData service in Java using Apache Olingo. So far so good. But I also want to add persistence to my service. When using JPA it works out of the box, as Olingo has a built-in JPA processor. But I read on the HCP documentation that the prefer way is container-managed persistence using EJB.

     I'm aware it is possible to create an own processor, but I don't want to write so much coding. Is there a way to still make use of the Olingo JPA processor?

 

Additional info: I'm using Olingo OData v2.

 

 

Thanks,

Tudor


Viewing all articles
Browse latest Browse all 3285

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>