You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by he...@apache.org on 2012/11/22 01:43:40 UTC

svn commit: r1412394 - /openjpa/site/trunk/content/integration.mdtext

Author: helenxu
Date: Thu Nov 22 00:43:39 2012
New Revision: 1412394

URL: http://svn.apache.org/viewvc?rev=1412394&view=rev
Log:
CMS migration

Modified:
    openjpa/site/trunk/content/integration.mdtext

Modified: openjpa/site/trunk/content/integration.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/integration.mdtext?rev=1412394&r1=1412393&r2=1412394&view=diff
==============================================================================
--- openjpa/site/trunk/content/integration.mdtext (original)
+++ openjpa/site/trunk/content/integration.mdtext Thu Nov 22 00:43:39 2012
@@ -1,16 +1,21 @@
 Title: Integration
-{excerpt:hidden=true}How to integrate OpenJPA with various containers and
-application servers{excerpt}
+<a name="How to integrate OpenJPA with various containers and application servers"> </a>
 
 <a name="Integration-RuntimeDependencies"></a>
 ## 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.
+
 See [Build and Runtime Dependencies](build-and-runtime-dependencies.html)
  for details on the required Java levels and runtime artifacts.
 
 
+<a name="Integrating-IntegrationwithApacheTomEE"></a>
+## Integration with Apache TomEE
+
+[Apache TomEE](http://tomee.apache.org/) is a distribution of Tomcat bundled with OpenJPA and the other necessary components to make it a Java EE 6 compliant Web Profile implementation.  Apache TomEE 1.0.0 and later include OpenJPA 2.2.x.  TomEE works in [Eclipse using the Tomcat adapter](http://www.youtube.com/watch?v=Lr8pxEACVRI) and you can simply deploy a web archive that contains a persistence unit without the need to include OpenJPA in the webapp.  Unlike putting OpenJPA in Tomcat, TomEE supports full container managed EntityManagers and JTA persistence units.
+
 <a name="Integration-IntegratingwithApacheGeronimo:"></a>
 ## Integrating with Apache Geronimo:
 
@@ -27,7 +32,7 @@ unit.
 
 Since [GlassFish](http://glassfish.dev.java.net)
  implements the Java Persistence API 1.0 SPI, it is very easy to use
-OpenJPA in Glassfish. See [Sahoo's blog |http://weblogs.java.net/blog/ss141213/archive/2006/07/using_openjpa_a.html]
+OpenJPA in Glassfish. See [Sahoo's blog](http://weblogs.java.net/blog/ss141213/archive/2006/07/using_openjpa_a.html)
  for further details.
 
 <a name="Integration-IntegratingwithSunJavaSystemApplicationServer9.x:"></a>
@@ -40,13 +45,14 @@ Application Server remain the same. 
 <a name="Integration-IntegratingwithIBMWebSphereApplicationServer:"></a>
 ## Integrating with IBM WebSphere Application Server:
 
-See [IBM WebSphere Developer Technical Journal: Leveraging OpenJPA with WebSphere Application Server V6.1](http://www-128.ibm.com/developerworks/websphere/techjournal/0612_barcia/0612_barcia.html)
-.
+See [IBM WebSphere Developer Technical Journal: Leveraging OpenJPA with WebSphere Application Server V6.1](http://www-128.ibm.com/developerworks/websphere/techjournal/0612_barcia/0612_barcia.html).
+
 Also, WebSphere Application Server V6.1 can download and install the [EJB3 Feature Pack](http://www-01.ibm.com/support/docview.wss?rs=177&uid=swg21287579)
 , which includes OpenJPA 1.0.x.
+
 [WebSphere Application Server V7.0](http://www.ibm.com/developerworks/downloads/ws/was/)
- includes OpenJPA 1.2.x and you can simply deploy an enterprise archive,
-web archive, or EJB-JAR that contains a persistence unit.  
+ includes OpenJPA 1.2.x and you can simply deploy an enterprise archive, web archive, or EJB-JAR that contains a persistence unit.  
+
 The [WebSphere Application Server V7 Feature Pack for OSGi Applications and Java Persistence API 2.0](http://www-01.ibm.com/software/webservers/appserv/was/featurepacks/osgi/)
  includes OpenJPA 2.0 and provides the use of the JPA 2.0 programming model
 within Java EE5 and OSGi applications.
@@ -56,15 +62,14 @@ within Java EE5 and OSGi applications.
 
 [WebSphere Application Server Community Edition](http://www.ibm.com/developerworks/websphere/zones/was/wasce.html)
  V2.0.0.2 through 2.1.1.1 include OpenJPA 1.0.x and you can simply deploy
-an enterprise archive, web archive, or EJB-JAR that contains a persistence
-unit.
+an enterprise archive, web archive, or EJB-JAR that contains a persistence unit.
+
 WebSphere Application Server Community Edition V2.1.x releases after
 V2.1.1.1 will include OpenJPA 1.2.x and you can simply deploy an enterprise
 archive, web archive, or EJB-JAR that contains a persistence unit.
 
 
-h2. Integrating with JOnAS Application Server V 4.X (J2EE 1.4 / EJB2.1
-Container):
+## 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
@@ -94,11 +99,7 @@ It is not necessary to configure a Sprin
 build time enhancement. The following warning message will be logged by
 OpenJPA when creating an EntityManagerFactory but it can be safely ignored.
 
-bq. WARN   \[main\](main\.html)
- openjpa.Runtime - An error occurred while registering a ClassTransformer
-with PersistenceUnitInfo: name 'PuName', root URL \[file:/.../\]. The error
-has been consumed. To see it, set your openjpa.Runtime log level to TRACE.
-Load-time class transformation will not be available.
+> WARN   \[main\] while registering a ClassTransformer with PersistenceUnitInfo: name 'PuName', root URL \[file:/.../\]. The error has been consumed. To see it, set your openjpa.Runtime log level to TRACE. Load-time class transformation will not be available.
 
 Please see the [Spring documentation](http://static.springframework.org/spring/docs/2.0.x/reference/orm.html#orm-jpa-setup-lcemfb)
  for more information.