Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/DBWS/AdvancedOSGi"

Line 2: Line 2:
 
   .source-java5 {padding:4px;border:1px solid black;}
 
   .source-java5 {padding:4px;border:1px solid black;}
 
   .source-xml {padding:4px;border:1px solid black;}
 
   .source-xml {padding:4px;border:1px solid black;}
</css>
+
</css> __NOTOC__  
__NOTOC__
+
 
== DBWS in an OSGi Environment ==
+
== DBWS in an OSGi Environment ==
An Eclipselink DBWS service can be run in an OSGi environment using Javase 6's 'containerless' [http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html javax.xml.ws.Endpoint] API.
+
 
 +
An Eclipselink DBWS service can be run in an OSGi environment using Javase 6's 'containerless' [http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html javax.xml.ws.Endpoint] API.  
 +
 
 +
=== Environment Setup  ===
 +
 
 +
Download a [http://www.eclipse.org/downloads/packages version of the Eclipse IDE that includes the ''Plug-in Development Environment'' (PDE)] (''Eclipse IDE for Java EE Developers'', ''Eclipse Classic 3.6.0'' or <br> ''Eclipse for RCP and RAP Developers''). Install the Database JDBC driver: use the embedded Apache Derby database in this example
 +
 
 +
*Download Apache Derby (org.apache.derby) bundle from [http://download.eclipse.org/tools/orbit/downloads Orbit].
 +
 
 +
<br>[[Image:EclipseLinkExamplesOSGiDeveloping with EclipseLink OSGi in PDE-2v2.png]]<br>
 +
 
 +
*Place the <tt>org.apache.derby</tt> bundle into your $ECLIPSE_HOME/dropins folder.
 +
*Install the EclipseLink and Jetty target Components:
 +
 
 +
<br>[[Image:EclipseLink DBWS with OSGi in PDE.png]]<br>
 +
''<font color="red">{NB - later, a set of updated EclipseLink bundles will be required}</font>''<br><br>
  
=== Environment Setup ===
 
Download a [http://www.eclipse.org/downloads/packages version of the Eclipse IDE that includes the <i>Plug-in Development Environment</i> (PDE)] (<i>Eclipse IDE for Java EE Developers</i>, <i>Eclipse Classic 3.6.0</i> or <br />
 
<i>Eclipse for RCP and RAP Developers</i>). Install the Database JDBC driver: use the embedded Apache Derby database in this example
 
* Download Apache Derby (org.apache.derby) bundle from [http://download.eclipse.org/tools/orbit/downloads Orbit].
 
<br />[[Image:EclipseLinkExamplesOSGiDeveloping_with_EclipseLink_OSGi_in_PDE-2v2.png]]<br />
 
* Place the <tt>org.apache.derby</tt> bundle into your $ECLIPSE_HOME/dropins folder.
 
* Install the EclipseLink and Jetty target Components:
 
<br />[[Image:EclipseLink_DBWS_with_OSGi_in_PDE.png]]<br />
 
{later, a set of updated EclipseLink bundles will be required}
 
 
Create a new Plugin project:
 
Create a new Plugin project:

Revision as of 15:04, 11 August 2010


DBWS in an OSGi Environment

An Eclipselink DBWS service can be run in an OSGi environment using Javase 6's 'containerless' javax.xml.ws.Endpoint API.

Environment Setup

Download a version of the Eclipse IDE that includes the Plug-in Development Environment (PDE) (Eclipse IDE for Java EE Developers, Eclipse Classic 3.6.0 or
Eclipse for RCP and RAP Developers). Install the Database JDBC driver: use the embedded Apache Derby database in this example

  • Download Apache Derby (org.apache.derby) bundle from Orbit.


EclipseLinkExamplesOSGiDeveloping with EclipseLink OSGi in PDE-2v2.png

  • Place the org.apache.derby bundle into your $ECLIPSE_HOME/dropins folder.
  • Install the EclipseLink and Jetty target Components:


EclipseLink DBWS with OSGi in PDE.png
{NB - later, a set of updated EclipseLink bundles will be required}

Create a new Plugin project:

Back to the top