|
|
(26 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | =Under Construction!=
| + | The OSGi support provided by EclipseLink is deprecated and has been replaced by the Gemini JPA project. See the [[Gemini/JPA/Documentation|Gemini documentation]] for examples. |
− | | + | |
− | = Developing with EclipseLink OSGi in PDE =
| + | |
− | | + | |
− | <pre>
| + | |
− | NOTE: These instructions apply to the Galileo release.
| + | |
− | </pre>
| + | |
− | | + | |
− | EclipseLink is the the only comprehensive Java persistence framework that is designed for OSGi. EclipseLink is available as a set of OSGi bundles that can be used with any OSGi framework. Support is also available for [[Examples/OSGi/Equinox_Byte_Code_Weaving|byte code weaving of Entities]] when using Equinox. | + | |
− | | + | |
− | This example illustrates how to develop a simple OSGi ''hello database'' application using Eclipse's Plug-in Development Environment (PDE) and EclipseLink.
| + | |
− | | + | |
− | == Setup ==
| + | |
− | | + | |
− | | + | |
− | | + | |
− | * Download Eclipse IDE with PDE
| + | |
− | ** A number of distributions include PDE including the Java EE, RCP, and Classic distributions.
| + | |
− | ** Starting with the [http://www.eclipse.org/galileo Galileo release], EclipseLink is included in thee ''Eclipse IDE for Java EE Developers'' distribution. If you download this distribution you do not need to download EclipseLink; the bundles are in the plugins folder of your Eclipse install.
| + | |
− | * Install EclipseLink JPA Bundles
| + | |
− | ** Select Help>Install New Software.. and in the Install dialog select the Galileo update site. Select ''EclipseLink JPA'' which is in the ''EclipseRT Target Platform Components'' category.<br/>[[Image:EclipseLinkExamplesOSGiDeveloping_with_EclipseLink_OSGi_in_PDE-1.png]]
| + | |
− | ** After downloading, Eclipse will prompt you to restart. Restart to complete the install.
| + | |
− | ** You can confirm that EclipseLink JPA is installed using the Help>About Eclipse SDK menu and clicking the Installation Details button on the About dialog. <br/>[[Image:EclipseLinkExamplesOSGiDeveloping_with_EclipseLink_OSGi_in_PDE-2.png]]
| + | |
− | * Install JDBC Driver Bundle
| + | |
− | ** You will need a JDBC driver packaged as an OSGi bundle. Orbit provides a bundle version of the Apache Derby embedded driver. Download the org.apache.orbit bundle from Orbit.
| + | |
Latest revision as of 13:45, 24 October 2012
The OSGi support provided by EclipseLink is deprecated and has been replaced by the Gemini JPA project. See the Gemini documentation for examples.