This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 250475 - Examples: Update OC4J JPA EAR example tutorial in SVN
Summary: Examples: Update OC4J JPA EAR example tutorial in SVN
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/E...
Whiteboard:
Keywords:
Depends on: 250473
Blocks: 294745 284259 309981 322289
  Show dependency tree
 
Reported: 2008-10-10 14:31 EDT by Michael OBrien CLA
Modified: 2022-06-09 10:31 EDT (History)
2 users (show)

See Also:


Attachments
OC4J 10.1.3.1 WIKI text from April 2008 - deprecated (12.82 KB, text/plain)
2009-02-27 09:27 EST, Michael OBrien CLA
no flags Details
OC4J 10.1.3.4 WIKI text from Feb 2009 - new and retrofitted (25.03 KB, text/plain)
2009-02-27 09:28 EST, Michael OBrien CLA
no flags Details
enterpriseEAR expects an OracleDS JTA globally defined datasource (21.76 KB, application/x-zip-compressed)
2009-02-27 09:29 EST, Michael OBrien CLA
no flags Details
3 examples projects for OC4J EAR, EJB, WAR (64.75 KB, patch)
2009-02-27 10:06 EST, Michael OBrien CLA
no flags Details | Diff
Eclipse 3.4.2 classpath update (7.05 KB, patch)
2009-03-18 14:47 EDT, Michael OBrien CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2008-10-10 14:31:36 EDT
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
Comment 1 Michael OBrien CLA 2009-02-17 10:37:16 EST
Update OC4J tutorial page for version 10.1.3.4 if required.
Comment 2 Michael OBrien CLA 2009-02-23 14:58:23 EST
The OC4J tutorial wiki page is being updated over the next 1-3 days for 10.1.4/10.1.3.5
Comment 3 Michael OBrien CLA 2009-02-26 17:08:03 EST
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
Comment 4 Michael OBrien CLA 2009-02-27 09:27:36 EST
Created attachment 126988 [details]
OC4J 10.1.3.1 WIKI text from April 2008 - deprecated
Comment 5 Michael OBrien CLA 2009-02-27 09:28:59 EST
Created attachment 126989 [details]
OC4J 10.1.3.4 WIKI text from Feb 2009 - new and retrofitted
Comment 6 Michael OBrien CLA 2009-02-27 09:29:54 EST
Created attachment 126990 [details]
enterpriseEAR expects an OracleDS JTA globally defined datasource
Comment 7 Michael OBrien CLA 2009-02-27 10:06:52 EST
Created attachment 127006 [details]
3 examples projects for OC4J EAR, EJB, WAR
Comment 8 Michael OBrien CLA 2009-03-02 14:31:24 EST
see rev# 3563 that matches wiki content for 20090228
http://fisheye2.atlassian.com/changelog/eclipselink/?cs=3563
Comment 9 Michael OBrien CLA 2009-03-18 14:47:28 EDT
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
Comment 10 Peter Krogh CLA 2009-08-26 09:45:06 EDT
Mass update to change fixed in target.
Comment 11 Peter Krogh CLA 2009-08-26 09:47:31 EDT
Mass update to change fixed in target.
Comment 12 Peter Krogh CLA 2009-08-26 09:51:37 EDT
Mass update to change fixed in target.
Comment 13 Peter Krogh CLA 2009-08-26 09:54:05 EDT
Mass update to change fixed in target.
Comment 14 Eclipse Webmaster CLA 2022-06-09 10:31:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink