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 "Using ECF Remote Services Bundles separate from the ECF SDK"

(ECF Remote Services Bundles Details)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
The ECF Remote Services bundles are included in the ECF SDK, which can be downloaded or installed via p2 [http://www.eclipse.org/ecf/downloads.php here].  If the ECF SDK is installed into Eclipse, then a number of Eclipse views and perspectives will be made available.   
+
The ECF Remote Services bundles are included in the ECF SDK, which can be [http://www.eclipse.org/ecf/downloads.php downloaded or installed via p2].  If the ECF 3.2 SDK is installed into Eclipse, then the ECF Remote Services bundles are installed, but also a number of Eclipse views and perspectives are made available for use within Eclipse.   
  
Some consumers of ECF, however, may be interested in using only in the ECF implementation of OSGi remote services and the bundles implementing OSGi 4.2 Remote Services are a subset of the ECF SDK.  See [[Using_ECF_Remote_Services_Bundles_separate_from_the_ECF_SDK#ECF_Remote_Services_Bundles_Details | ECF Remote Services Bundles Details below]].
+
==ECF Remote Services Bundles==
  
==What's a Target Platform?==
+
Some consumers of ECF may be interested in using only the ECF implementation of OSGi 4.2 Remote Services...and not all the other ECF APIs and bundles.  There are several ways of doing such development...one way is to add the SDK into your target platform, and the following page describes how to do so:
  
When developing with Eclipse 3.5 or newer, it's possible to use a concept called a [http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm target platform].  The [http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm target platform] specifies the set of bundles used to compile and build against within the Eclipse PDE (plugin development environment).  The default target platform is Eclipse itself, but the target platform can be set to any desired set of bundles.  One way to develop applications that use some or all of ECF is to add the ECF SDK to your target platform.  Then you are able to develop against and build using ECF functionality.
+
[[Adding ECF SDK to Target Platform]]
  
==Download Eclipse3.6M5==
+
Another way to develop remote services with ECF support is to load some or all ECF projects into your workspace. [http://wiki.eclipse.org/images/6/69/Osgiremoteservice.psf Here is a project set file] that has just the implementation of OSGi Remote Services.  To use this project set file to load the ECF Remote Services projects:
  
The ECF 3.2 Remote Services implementation depends upon some bundles included in the Eclipse 3.6 stream, so you should download and use '''Eclipse 3.6M5 SDK''' (or more recent than M5).
+
#Save this file to local disk
 +
#Within Eclipse, Import this as a Team Project Set...i.e. via Import...->Team Project Set->file
  
You can [http://download.eclipse.org/eclipse/downloads/drops/S-3.6M5-201001291300/index.php download Eclipse3.6M5 SDK here] or a more recent version from the [http://download.eclipse.org/eclipse/downloads/ Eclipse3.6 stream here].
+
Here is an annotated listing of the ECF Remote Services bundles
  
==Add ECF 3.2 SDK to Target Platform==
+
'''ch.ethz.iks.r_osgi.remote''' -- R-OSGi implementation<br>
 
+
'''ch.ethz.iks.slp''' -- jSLP implementation<br>
Now, to add the ECF SDK to your target platform in Eclipse 3.6, do the following
+
'''org.eclipse.ecf.discovery''' - ECF Discovery API<br>
 
+
'''org.eclipse.ecf.examples.remoteservices.hello''' -- Hello World Example (Service Interface)<br>
#Select from Menu:  '''Window->Preferences->Plug-in Development->Target Platform'''
+
'''org.eclipse.ecf.examples.remoteservices.hello.consumer''' - Hello World Example Consumer<br>
#Choose '''Add...''' button
+
'''org.eclipse.ecf.examples.remoteservices.hello.ds.consumer''' - Hello World Declarative Services Example<br>
#Initialize the Target Definition with '''Default: Default target for the running platform'''
+
'''org.eclipse.ecf.examples.remoteservices.hello.ds.host''' - Hello World Declarative Services Example<br>
#Specify Name:  '''ECF 3.2 SDK'''
+
'''org.eclipse.ecf.examples.remoteservices.hello.host''' - Hello World Example Host<br>
#Choose '''Add...''' button
+
'''org.eclipse.ecf.osgi.services.discovery''' - OSGi 4.2 Remote Services Discovery Implementation<br>
#Select '''Software Site''' and '''Next>'''
+
'''org.eclipse.ecf.osgi.services.discovery.local''' - OSGi 4.2 Remote Services Local/File-Based Discovery Implementation<br>
#Choose '''Add...''' button
+
'''org.eclipse.ecf.osgi.services.distribution''' - OSGi 4.2 Remote Services Distribution Implementation<br>
#In Add Repository dialog
+
'''org.eclipse.ecf.provider''' - ECF Generic Provider<br>
##'''Name: ECF 3.2 SDK'''
+
'''org.eclipse.ecf.provider.discovery''' - ECF Discovery API multi-provider support<br>
##'''Location: http://www.eclipse.org/external/rt/ecf/3.2/3.6/site.p2'''
+
'''org.eclipse.ecf.provider.jmdns''' - JMDNS/Zeroconf Discovery Provider<br>
#Choose '''OK'''
+
'''org.eclipse.ecf.provider.jslp''' - jSLP Discovery Provider<br>
#Open the ECF tree item
+
'''org.eclipse.ecf.provider.localdiscovery''' - Local/File-based Discovery Implementation<br>
#Select the '''Eclipse Communication Framework SDK''' check box
+
'''org.eclipse.ecf.provider.r_osgi''' - R-OSGi Provider<br>
#Unselect '''Include Required Software'''. This option should '''not''' be selected.
+
'''org.eclipse.ecf.provider.remoteservice''' - ECF RemoteService Generic Provider<br>
#Choose '''Finish'''
+
'''org.eclipse.ecf.remoteservice''' - ECF Remote Service API<br>
#Select the target platform you just created (i.e. ECF 3.2 SDK)
+
'''org.eclipse.ecf.remoteservice.rest''' - ECF Remote Service REST Support API<br>
#Choose '''OK'''
+
'''org.eclipse.ecf.remoteservice.soap''' - ECF Remote Service SOAP Support API<br>
 
+
'''org.eclipse.ecf.server''' - ECF Server Support API<br>
Your target platform should then be set to your current Eclipse, plus the ECF SDK. Then you can refer to ECF classes in your own bundles/plugins.
+
'''org.eclipse.ecf.server.generic''' - ECF Generic Server Support API<br>
 
+
'''org.eclipse.ecf.sharedobject''' - ECF Shared Object API<br>
==ECF Remote Services Bundles Details==
+
'''org.eclipse.ecf.remoteservice.eventadmin''' - ECF Distributed EventAdmin Implementation<br>
 
+
'''org.eclipse.ecf.examples.eventadmin.app''' - Distributed EventAdmin Example
The ECF Remote Services bundles are a subset of the ECF SDK.  [http://wiki.eclipse.org/images/6/69/Osgiremoteservice.psf Here is a project set file that has just the implementation of OSGi Remote Services]. Save this file to local disk, and then within Eclipse Import this as a Team Project Set...i.e. via Import...->Team Project Set->file.
+

Latest revision as of 22:39, 11 February 2010

The ECF Remote Services bundles are included in the ECF SDK, which can be downloaded or installed via p2. If the ECF 3.2 SDK is installed into Eclipse, then the ECF Remote Services bundles are installed, but also a number of Eclipse views and perspectives are made available for use within Eclipse.

ECF Remote Services Bundles

Some consumers of ECF may be interested in using only the ECF implementation of OSGi 4.2 Remote Services...and not all the other ECF APIs and bundles. There are several ways of doing such development...one way is to add the SDK into your target platform, and the following page describes how to do so:

Adding ECF SDK to Target Platform

Another way to develop remote services with ECF support is to load some or all ECF projects into your workspace. Here is a project set file that has just the implementation of OSGi Remote Services. To use this project set file to load the ECF Remote Services projects:

  1. Save this file to local disk
  2. Within Eclipse, Import this as a Team Project Set...i.e. via Import...->Team Project Set->file

Here is an annotated listing of the ECF Remote Services bundles

ch.ethz.iks.r_osgi.remote -- R-OSGi implementation
ch.ethz.iks.slp -- jSLP implementation
org.eclipse.ecf.discovery - ECF Discovery API
org.eclipse.ecf.examples.remoteservices.hello -- Hello World Example (Service Interface)
org.eclipse.ecf.examples.remoteservices.hello.consumer - Hello World Example Consumer
org.eclipse.ecf.examples.remoteservices.hello.ds.consumer - Hello World Declarative Services Example
org.eclipse.ecf.examples.remoteservices.hello.ds.host - Hello World Declarative Services Example
org.eclipse.ecf.examples.remoteservices.hello.host - Hello World Example Host
org.eclipse.ecf.osgi.services.discovery - OSGi 4.2 Remote Services Discovery Implementation
org.eclipse.ecf.osgi.services.discovery.local - OSGi 4.2 Remote Services Local/File-Based Discovery Implementation
org.eclipse.ecf.osgi.services.distribution - OSGi 4.2 Remote Services Distribution Implementation
org.eclipse.ecf.provider - ECF Generic Provider
org.eclipse.ecf.provider.discovery - ECF Discovery API multi-provider support
org.eclipse.ecf.provider.jmdns - JMDNS/Zeroconf Discovery Provider
org.eclipse.ecf.provider.jslp - jSLP Discovery Provider
org.eclipse.ecf.provider.localdiscovery - Local/File-based Discovery Implementation
org.eclipse.ecf.provider.r_osgi - R-OSGi Provider
org.eclipse.ecf.provider.remoteservice - ECF RemoteService Generic Provider
org.eclipse.ecf.remoteservice - ECF Remote Service API
org.eclipse.ecf.remoteservice.rest - ECF Remote Service REST Support API
org.eclipse.ecf.remoteservice.soap - ECF Remote Service SOAP Support API
org.eclipse.ecf.server - ECF Server Support API
org.eclipse.ecf.server.generic - ECF Generic Server Support API
org.eclipse.ecf.sharedobject - ECF Shared Object API
org.eclipse.ecf.remoteservice.eventadmin - ECF Distributed EventAdmin Implementation
org.eclipse.ecf.examples.eventadmin.app - Distributed EventAdmin Example

Back to the top