Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: initial pass at runtime depends

Excerpt
hiddentrue

How to integrate OpenJPA with various containers and application servers

Runtime Dependencies

The binary release download of OpenJPA includes all of the code needed to run in a stand-alone Java SE JVM or within a Java EE application server.
For example, the OpenJPA 1.2.1 release download apache-openjpa-1.2.1-binary.zip includes the following required OpenJPA artifact under apache-openjpa-1.2.1/: \

  • openjpa-1.2.1.jar

and the following required runtime dependencies under apache-openjpa-1.2.1/lib/:

  • commons-collections-3.2.jar
  • commons-lang-2.1.jar
  • commons-pool-1.3.jar
  • serp-1.13.1.jar

The following artifacts under lib/ are only needed for Java SE environments, as a Java EE application server should provide an implementation:

  • geronimo-jpa_3.0_spec-1.0.jar
  • geronimo-jta_1.1_spec-1.1.jar

The following is optional, as you should include the JDBC driver artifacts required by your database provider and supported by OpenJPA:

  • derby-10.2.2.0.jar

Integrating with Apache Geronimo:

...