openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <>
Subject Re: OSGi-ready Distribution
Date Mon, 20 Sep 2010 16:33:15 GMT
Also, I'd suggest using the Apache ServiceMix released bundles (used in
Apache Geronimo 3.0), which are mirrored on all Maven repos.


On 9/17/10 2:50 PM, Harald Wellmann wrote:
> When you download the OpenJPA binary distribution, you get the main OpenJPA
> JAR as an OSGi bundle, but most of the dependencies are plain old JARs, so
> you have to go shopping for osgified versions. I got mine from the
> SpringSource Enterprise Bundle Repository.
> The same is true when working with Maven. All the transitive dependencies of
> openjpa-all should be OSGi bundles. Alternatively, you could create a
> separate artifact openjpa-osgi with osgified dependencies.
> As an add-on, or maybe as an integral part of the OSGi distribution, there
> should be a minimum subset of Aries (or any other suitable OSGi Enterprise
> implementation) required to make a persistence unit bundle work with
> OpenJPA.
> I had to include the following bundles to get a simple example running:
> org.apache.aries.jndi.api-0.3-incubating-SNAPSHOT.jar
> org.apache.aries.jndi.core-0.3-incubating-SNAPSHOT.jar
> org.apache.aries.jndi.url-0.3-incubating-SNAPSHOT.jar
> org.apache.aries.jpa.api-0.3-incubating-SNAPSHOT.jar
> org.apache.aries.jpa.container-0.3-incubating-SNAPSHOT.jar
> org.apache.aries.util-0.3-incubating-SNAPSHOT.jar
> Best regards,
> Harald

View raw message