Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335575

Summary: JPA: Add Jetty lightweight web application server platform support
Product: z_Archived Reporter: Michael OBrien <michael.f.obrien>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipselink.orm-inbox
Version: unspecifiedFlags: michael.f.obrien: documentation+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.eclipse.org/EclipseLink/Examples/JPA#Lightweight_Application_Servers
Whiteboard:
Bug Depends on: 220396    
Bug Blocks: 326728    

Description Michael OBrien CLA 2011-01-27 10:27:25 EST
>Add a Jetty Platform (non-EE container) as a subclass of NoServerPlatform.
Several of our users are deploying SE persistence units to the Jetty web container and may require additional support infrastructure for txs and weaving.
Some of the issues so far involve persistence.xml loading and weaving support.
Although I don't know how this will work without container managed trasaction control via a TX datasource like the following that would require an EE transaction-type="JTA" persitence-unit in the absence of an EJB container and/or a dependency injection engine to dynamically weave the entities and/or EM/EMF

<jta-data-source>jdbc/__default</jta-data-source>


>A non-EE platform is not required - as a RESOURCE_LOCAL persistence unit can still be used - just like for Tomcat and Geronimo 

>vote for this enhancement if you would like to see a Jetty specific platform 
<property name="eclipselink.target-server" value="Jetty"/>

and/or expansion of a tutorial page that addresses issues specific to the Jetty server
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:21:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink