|Using JPA-RS in Equinox (via gemini) [message #1709246]
||Fri, 25 September 2015 08:42
| Marco Descher
Registered: October 2010
I managed to create an equinox based applicatoin, that uses gemini to provide PersistenceUnits. I also managed to provide Entities within this PU according to the tutorial in https://wiki.eclipse.org/EclipseLink/Examples/REST/GettingStarted/RestService.
The problem however is, that according to this solution I have to code the entire REST interface myself - thus I found JPA-RS.
Unfortunately I do not seem to manage to get it running in Equinox. I already have a product that starts my equinox env, and jetty is already there as I use REST in other parts.
What have I done so far? I added org.eclipse.persistence.jpars and its dependencies to my run-configuration and started the bundle in my container. Yet I can't access the url. I also failed in finding a tutorial to employ JPA-RS in Euqinox (there is for glassfish etc.). What have I done wrong? Do I need to start by means of an JPARSApplication ??
Thanks a lot!
[Updated on: Tue, 29 September 2015 13:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02648 seconds