Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Examples/OSGi/LazyLoadingRCP"
< EclipseLink | Examples | OSGi
(→Software Required) |
|||
Line 8: | Line 8: | ||
* EclipseLink OSGi bundles | * EclipseLink OSGi bundles | ||
− | ** org.eclipse.persistence.core | + | ** '''org.eclipse.persistence.core''' - Core EclipseLink Bundle |
− | ** org.eclipse.persistence.asm | + | ** '''org.eclipse.persistence.asm''' - EclipseLink bundling of ASM to enable byte-code weaving |
− | ** org.eclipse.persistence.antlr | + | ** '''org.eclipse.persistence.antlr''' - EclipseLink bundling of ANTLR used for JPQL parsing |
− | ** javax.persistence | + | ** '''javax.persistence''' - Java Persistence API (JPA) 1.0 specification (version 1.99 required for OSGI) |
− | ** org.eclipse.persistence.jpa | + | ** '''org.eclipse.persistence.jpa''' - EclipseLink JPA Bundle |
− | + | ||
* JDBC Driver (Derby) | * JDBC Driver (Derby) | ||
− | ** org.eclipse.persistence.derby | + | ** '''org.eclipse.persistence.derby''' - Bundling of derbyclient.jar |
* Example Bundles | * Example Bundles |
Revision as of 09:10, 18 November 2008
Under Construction
Comic Example using RCP
Software Required
This example illustrates the use of EclipseLink JPA in a simple RCP application. Running this example requires OSGi (Equinox) as well as the following bundles.
- EclipseLink OSGi bundles
- org.eclipse.persistence.core - Core EclipseLink Bundle
- org.eclipse.persistence.asm - EclipseLink bundling of ASM to enable byte-code weaving
- org.eclipse.persistence.antlr - EclipseLink bundling of ANTLR used for JPQL parsing
- javax.persistence - Java Persistence API (JPA) 1.0 specification (version 1.99 required for OSGI)
- org.eclipse.persistence.jpa - EclipseLink JPA Bundle
- JDBC Driver (Derby)
- org.eclipse.persistence.derby - Bundling of derbyclient.jar
- Example Bundles
- org.eclipse.persistence.example.jpa.comics.model.annotated
- org.eclipse.persistence.example.jpa.comics.setup
- org.eclipse.persistence.example.jpa.rcp.comics
Running with Eclipse IDE
The example can easily be run within the Eclipse IDE ...