You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Integrating with GlassFish:

Since GlassFish implements the Java Persistence API 1.0 SPI, it is very easy to use OpenJPA in Glassfish. See Sahoo's blog for further details.

Integrating with Sun Java System Application Server 9.x:

Since Sun Java System Application Server is based on code from the GlassFish project, the instructions to use OpenJPA in GlassFish and Sun Java System Application Server remain the same.

Integrating with WebSphere Application Server V6.1:

See IBM WebSphere Developer Technical Journal: Leveraging OpenJPA with WebSphere Application Server V6.1.

Integrating with JOnAS Application Server V 4.X (J2EE 1.4 / EJB2.1 Container):

OpenJPA can successfully be integrated with the JOnAS 4.x Application server family. I succeeded in configuring OpenJPA to use managed JTA transactions of JOnAS, which means that you can use OpenJPA in parallel to EJB 2.1 CMP/BMP Entity Beans within the SAME container managed transactions of your JOnAS Application Server. See Hans Prueller's blog entry for further details.

Integrating with BEA Weblogic Server 10:

BEA WebLogic Server 10 includes OpenJPA. To use OpenJPA in a WebLogic Server environment, you can simply deploy an enterprise archive, web archive, or EJB-JAR that contains a persistence unit. The default persistence provider in WebLogic Server is OpenJPA + Kodo, so you can either leave the <provider> element out of your persistence.xml file, or set it to org.apache.openjpa.persistence.PersistenceProviderImpl.

BEA Kodo is built on top of OpenJPA, and so includes the OpenJPA jars.

  • No labels