|
|
Line 60: |
Line 60: |
| === JPA Web Application Tutorials === | | === JPA Web Application Tutorials === |
| *[[EclipseLink/Examples/JPA/JSF_Tutorial|Tutorial: Build a Web Application (JSF) Using JPA]] | | *[[EclipseLink/Examples/JPA/JSF_Tutorial|Tutorial: Build a Web Application (JSF) Using JPA]] |
− | * Step by step instructions by container for a quick-start JEE EclipseLink JPA container-managed Application using a [http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/examples/org.eclipse.persistence.example.jpa.server.common.ddlgen single JPA Entity] on the major subset of [http://en.wikipedia.org/wiki/Matrix_of_Application_Servers all application servers]
| |
− | {|{{BMTableStyle}}
| |
− | |-{{BMTHStyle}}
| |
− | ! Container
| |
− | ! Version
| |
− | ! JEE Spec
| |
− | ! Source
| |
− |
| |
− | [http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/examples/org.eclipse.persistence.example.jpa.server.common.ddlgen DDL-gen]
| |
− | ! Issues
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/OC4J_Web_Tutorial|Oracle OC4J]]|| 10.1.3.5 || 5 ||
| |
− | [http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/examples/org.eclipse.persistence.example.jpa.server.oc4j.enterpriseEAR EAR][http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/examples/org.eclipse.persistence.example.jpa.server.oc4j.enterpriseEJB EJB][http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/examples/org.eclipse.persistence.example.jpa.server.oc4j.enterpriseWeb WAR]
| |
− | || - Updated for version 10.1.3.5 or 10.1.4
| |
− | |- bgcolor="#d0efff"
| |
− | |[[EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial|GlassFish]]|| V2.1 || 5 || - || - Requires GlassFish V2.1 build 32
| |
− |
| |
− | - Current Production Release
| |
− |
| |
− | - [[EclipseLink/Examples/JPA/Migration/TopLinkEssentials#target-server|migrating from TopLink Essentials to EclipseLink]]
| |
− | |-
| |
− | |- bgcolor="#d0efff"
| |
− | |SUN Application Server || 9.1 || 5 || - || - See [[EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial|GlassFish V2 which is included in Sun AS 9]]
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/GlassFishV3_Web_Tutorial|GlassFish]]|| V3 || 6 || - || - Use V3 [http://download.java.net/glassfish/v3/promoted prelude] - not TP2
| |
− |
| |
− | - Use the 1.0.9+ snapshot plugin (with fixed library references) against a prelude server
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/JBoss_Web_Tutorial|JBoss]] || 4.2.2 || 5 || - || - Dynamic weaving is disabled due to ([http://jira.jboss.com/jira/browse/EJBTHREE-572 JIRA-572]) - upcoming 5.0CR2 release (Oct 2008) will be fully JEE5
| |
− |
| |
− | - see [[EclipseLink/Examples/JPA/Migration/JBoss | static weaving workaround using the JBoss JSFEJB3 example]]
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/Migration/JBoss_Seam | JBoss Seam]] || - || 5 || - || - in response to [http://www.theserverside.com/news/thread.tss?m=c.reply&thread_id=50305#266212 request for EclipseLink JPA support in JBoss SEAM]
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/Spring_Web_Tutorial|Spring]] || 2.5.5 || 5 || - || - '''Under Construction''' TBD: use the Derby database platform
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/Spring3_Web_Tutorial|Spring]] || 3.0 || 6 || - || - Arriving Jan 2009
| |
− | |-
| |
− | ||[[EclipseLink/Examples/JPA/WebSphere_Web_Tutorial|IBM WebSphere]] || 6.1.0.0 || 1.4/5 || - || - Supports JPA1/EJB3 with optional feature pack on Java SE 1.5
| |
− |
| |
− | - The [http://bugs.eclipse.org/160220 WAS 6.1 Eclipse WTP Server plugin (ehr 160221)] should be in the next release of Ganymede 3.4 in Dec08 - or use manual or python deployment
| |
− |
| |
− | - example incomplete
| |
− | |-
| |
− | ||[[EclipseLink/Examples/JPA/WebSphere7_Web_Tutorial|IBM WebSphere]] || 7.0.0.1 || 5 || - || - There is no WAS 7.0 Eclipse WTP Server plugin yet - [[EclipseLink/Examples/JPA/WebSphere7_Web_Tutorial#Remote_Debugging_EclipseLink_in_WebSphere_7.0_from_Eclipse_3.4|you can attach the Eclipse IDE to a WebSphere 7 server in debug mode on port 7781]]
| |
− |
| |
− | - In progress as of 20090115
| |
− |
| |
− | |- bgcolor="#e0e0e0"
| |
− | ||[[EclipseLink/Examples/JPA/WebSphereCE_Web_Tutorial|IBM WebSphere CE]] || 2.1.0.1 || 5 || - || - WebSphere CE 2.1 is only certified on Java SE 1.5 (SUN JRE 1.6 runtime support is available)
| |
− | |- bgcolor="#e0e0e0"
| |
− | |Apache Geronimo || 2.0.2 || 5 || - || - see [[EclipseLink/Examples/JPA/WebSphereCE_Web_Tutorial|WebSphere CE]] which wraps Geronimo, Derby and OpenJPA
| |
− | |-
| |
− | |[[EclipseLink/Examples/JPA/Tomcat_Web_Tutorial|Apache Tomcat]] || 6.0.18 || 5 (w/o EJB) || - || - 2.5 Servlet container will support application managed JPA entities using RESOURCE_LOCAL or JTA transactions.
| |
− |
| |
− | - JTA datasource (without JTATransactionController) available when running as Tomcat service
| |
− |
| |
− | - SessionCustomizer is required for JTA.
| |
− |
| |
− | - Only static weaving (instrumentation) is available.
| |
− |
| |
− | - No @EJB or @PersistenceContext injection is available.
| |
− | |}
| |
− |
| |
− | ====EclipseLink JPA Examples Matrix by Web Framework ====
| |
− | *The following grid cross-references the above JPA JEE Tutorials by Application server, Database and type of presentation framework - to answer the question "How to run EclipseLink JPA on an application server against a particular database"?
| |
− |
| |
− | {|{{BMTableStyle}}
| |
− | |-{{BMTHStyle}}
| |
− | ! Database -->
| |
− | ! <font color="blue">Oracle</font>
| |
− | ! <font color="blue">MySQL</font>
| |
− | ! <font color="blue">Derby</font>
| |
− | ! <font color="blue">JavaDB</font>
| |
− | ! <font color="blue">HSQL</font>
| |
− | ! <font color="blue">DB2 Ex</font>
| |
− | |-
| |
− | |'''WebLogic''' ||[[EclipseLink/Examples/JPA/WebLogic_Web_Tutorial|Servlet]]|| || || || ||
| |
− | |-
| |
− | |'''OC4J''' ||[[EclipseLink/Examples/JPA/OC4J_Web_Tutorial|Servlet]]|| || || || ||
| |
− | |-
| |
− | |'''Glassfish''' || || ||[[EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial|Servlet]] || || ||
| |
− | |-
| |
− | |'''Sun AS''' || || ||[[EclipseLink/Examples/JPA/GlassFishV2_Web_Tutorial|Servlet]]|| || ||
| |
− | |-
| |
− | |'''JBoss''' ||[[EclipseLink/Examples/JPA/JBoss_Web_Tutorial|Servlet]]|| || || ||[[EclipseLink/Examples/JPA/Migration/JBoss|JSF]] ||
| |
− | |-
| |
− | |'''WebSphere''' || || || || || || [[EclipseLink/Examples/JPA/WebSphereCE_Web_Tutorial|Servlet]]
| |
− | |-
| |
− | |'''Geronimo''' || || || || || ||
| |
− | |-
| |
− | |'''Tomcat''' ||[[EclipseLink/Examples/JPA/Tomcat_Web_Tutorial|Servlet]]|| || || || ||
| |
− | |-
| |
− | |}
| |
| | | |
| == Under Construction == | | == Under Construction == |
The following tutorials describe details on running EclipseLink JPA on a specific Java IDE.
The following tutorials describe details on running EclipseLink JPA on a specific database platform.