Community
Participate
Working Groups
The 3 EAR, EJB and WEB Eclipse 3.4 projects used to write the OC4J 11 JPA EAR application (container managed) tutorial will be checked in and updated against this enhancement request. DDL Schema Generation: All the application server tutorials for EclipseLink use a common shared data model (currently using a single @ManyToMany for simplicity). To aide in database schema setup, the enhancement bug# 250473 contains the [org.eclipse.persistence.example.jpa.server.common] Java SE application that performs DDL generation for all JPA container tutorials. Tutorial Design: The goal of the tutorial is to demonstrate a quick start end-to-end deployment on a specific application server of an EclipseLink JPA application. To accomplish this... - The web framework is a simple servlet so we avoid container specific issues around JSF implementation. - The data model is very simple (@ManyToMany) - as the other tutorials get into more advanced JPA entity concepts and annoations - The entitymanager is container managed where possible by injection - The schema is generated by DDL generation in a separate common application managed SE app. - The application context name is standard across servers - The datasource is globally defined (by the user) on the server - with the only configuration setting being the jta-data-source element in persistence.xml see http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial The example has been up for around 3 months with 2700 hits
Update OC4J tutorial page for version 10.1.3.4 if required.
The OC4J tutorial wiki page is being updated over the next 1-3 days for 10.1.4/10.1.3.5
OC4J Tutorial update complete for 10.1.3.5 See in particular the following section that details how to add EclipseLink to OC4J. http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Option_1:_Add_an_eclipselink_shared-library_to_OC4J_-_recommended
Created attachment 126988 [details] OC4J 10.1.3.1 WIKI text from April 2008 - deprecated
Created attachment 126989 [details] OC4J 10.1.3.4 WIKI text from Feb 2009 - new and retrofitted
Created attachment 126990 [details] enterpriseEAR expects an OracleDS JTA globally defined datasource
Created attachment 127006 [details] 3 examples projects for OC4J EAR, EJB, WAR
see rev# 3563 that matches wiki content for 20090228 http://fisheye2.atlassian.com/changelog/eclipselink/?cs=3563
Created attachment 129267 [details] Eclipse 3.4.2 classpath update - modify project for Eclipse 3.4.2 - remove dependency on specific OC4J 10.1.3.4 server runtime - verified projects compile ok in a clean workspace with no OC4J server setup yet
Mass update to change fixed in target.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink