Hi Alex, We have already start example in a dev guide and planned to released it in the 4.2.1 or Karaf.
You have a preview on the JB repo : https://github.com/jbonofre/karaf/tree/DEV_GUIDE/examples There is JPA example working with Hibernate. Hope it can help and you are welcome to contribute :) François Le 29 mai 2018 10:54 PM, alex09 <alexander.cu...@web.de> a écrit : > > Hi there, > > being new to OSGi, I have difficulties getting demos/examples/tutorials to > run (esp. with JPA) with Apache Karaf 4.2. > > I tried all these resources: > * Apache Aries 2.7 JPA examples: > https://github.com/apache/aries-jpa/tree/master/examples (also user > documentation is not accurate for the current Karaf versions) > * Tutorials at http://karaf.apache.org/documentation.html#tutorials, which > don't work as liquid-reality.de has not been available for weeks now (I > found some of them here, but still they don't work: > https://github.com/cschneider/Karaf-Tutorial) > * Apache Aries 2.7: The Blog Example: > http://aries.apache.org/modules/samples/blog-sample.html > * Hibernate Demos: > https://github.com/hibernate/hibernate-demos/tree/master/hibernate-orm/osgi > (also reflecting the outdated user documentation) > * also the Entwicklerpress 143 book "OSGi Entwicklung" and Enterprise OSGi > in Action > > All without success, the sample are really dated and there is a lot more to > do than just simple changes - this is difficult for someone coming new to > this topic. > I'd certainly volunteer for helping with this, but as there is no starting > point currently, this is complicated. > > So my question is: are there any plans to create a new, sound > description/documentation/tutorial/example for JPA/Hibernate on Apache Karaf > 4.x? Or isn't this supposed to work anymore as there are better practices > for persistence in OSGi? > > Thanks & Best > > Alex > > > > -- > Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html