JB, Looking for your input on advantages / disadvantages of three approaches to JPA for an application upgrade to karaf 4.2.7+. Logic for the upgrade is I'm switching from Windows to Linux on the hardware to get cost savings and want to take advantage of improvements over the last 2 years. Obviously a lot will depend on my application but I value your input.
*Background* In karaf 4.0.10, I use the openjpa feature which installs 13 bundles. Following your directions above, in karaf 4.2.7, I'm using openjpa3 which installs just 1 bundle. *Options* 1) Don't upgrade karaf 2) Build my own jpa feature that has the capabilities my current version of code requires, i.e. all 13 bundles 3) Refactor my code to work with the features used in the karaf example jpa *Feature info* karaf@root(feature)> info openjpa Feature openjpa 2.4.1 Description: Apache OpenJPA 2.4.x persistence engine support Details: Enable Apache OpenJPA as persistence engine. Feature has no configuration Feature has no configuration files Feature depends on: jndi 0.0.0 transaction-api [1.2,1.3) Feature contains followed bundles: mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1 mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1 mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.2 mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1 mvn:commons-lang/commons-lang/2.6 mvn:commons-collections/commons-collections/3.2.2 mvn:commons-pool/commons-pool/1.6 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_6 mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1 mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 mvn:org.apache.xbean/xbean-asm5-shaded/4.3 mvn:org.apache.openjpa/openjpa/2.4.1 Feature has no conditionals. karaf@root(feature)> info openjpa3 Feature openjpa3 3.0.0 Description: OpenJPA engine support Feature has no configuration Feature has no configuration files Feature depends on: openjpa 3.0.0 Feature contains followed bundles: mvn:org.apache.xbean/xbean-asm6-shaded/4.9 Feature has no conditionals. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
