First you have to install some Karaf's enterprise features ( http://aries.apache.org):
features:install transaction features:install jndi features:install jpa Then you need to deploy a JPA implementation such as EclipseLink or OpenJPA. There are some differences among the JPA implementations and for EcliseLink you have to manually register an OSGi service to let the framework aware of the EcliseLink's PeristenceProvider implementation, you can find a very simple example here: https://github.com/lburgazzoli/lb-karaf-examples/tree/master/jpa-eclipselink-adapter Once done you are ready to implement your JPA bundle (very simple example here https://github.com/lburgazzoli/lb-karaf-examples/tree/master/jpa-eclipselink ) On Thu, Mar 14, 2013 at 9:48 PM, ingulp <[email protected]> wrote: > Could you elaborate? Sorry, I'm still fairly new to the frameworks I'm > using. > > Thanks, > Peter > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-OSGi-Web-Service-with-EclipseLink-No-Persistence-provider-tp4028199p4028205.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
