Difference between revisions of "EIG:Getting Started with OSGi Remote Services"

From Eclipsepedia

Jump to: navigation, search
(New page: ==Install ECF 3.2 and Eclipse== When ECF 3.2 is released (expected release date: '''Feb 19, 2010''') it will be available on the [http://www.eclipse.org/ecf/downloads.php ecf download] pa...)
 
(Install ECF 3.2 and Eclipse)
Line 1: Line 1:
==Install ECF 3.2 and Eclipse==
+
==Adding ECF 3.2 to Your Target Platform==
  
 
When ECF 3.2 is released (expected release date: '''Feb 19, 2010''') it will be available on the [http://www.eclipse.org/ecf/downloads.php ecf download] page.  Until the release, however, to work with ECF 3.2 you will need to get one of the recent daily builds of the ECF SDK (available [https://ecf2.osuosl.org/hudson/ here]...see the C-HEAD-sdk_feature or the N-HEAD-sdk_feature), OR get the [http://www.eclipse.org/ecf/dev_resources.php ECF source code] and build/run from your local workspace.
 
When ECF 3.2 is released (expected release date: '''Feb 19, 2010''') it will be available on the [http://www.eclipse.org/ecf/downloads.php ecf download] page.  Until the release, however, to work with ECF 3.2 you will need to get one of the recent daily builds of the ECF SDK (available [https://ecf2.osuosl.org/hudson/ here]...see the C-HEAD-sdk_feature or the N-HEAD-sdk_feature), OR get the [http://www.eclipse.org/ecf/dev_resources.php ECF source code] and build/run from your local workspace.
Line 5: Line 5:
 
Note that you only need the ECF SDK in your [http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm target platform].   
 
Note that you only need the ECF SDK in your [http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/concepts/target.htm target platform].   
  
You will will also need Equinox in your target platform (either the [http://download.eclipse.org/equinox/ Equinox 3.5 SDK] or the parts that come with Eclipse).  
+
You will will also need Equinox in your target platform (either the [http://download.eclipse.org/equinox/ Equinox 3.5 SDK] or the parts that come with Eclipse).
  
 
==Getting the Hello Example Code==
 
==Getting the Hello Example Code==

Revision as of 20:09, 26 January 2010

Contents

Adding ECF 3.2 to Your Target Platform

When ECF 3.2 is released (expected release date: Feb 19, 2010) it will be available on the ecf download page. Until the release, however, to work with ECF 3.2 you will need to get one of the recent daily builds of the ECF SDK (available here...see the C-HEAD-sdk_feature or the N-HEAD-sdk_feature), OR get the ECF source code and build/run from your local workspace.

Note that you only need the ECF SDK in your target platform.

You will will also need Equinox in your target platform (either the Equinox 3.5 SDK or the parts that come with Eclipse).

Getting the Hello Example Code

Click here for instructions on retrieving all the Hello Example source into your local workspace

Steps to Create the Hello Example

Below are the steps to define and build the Hello Example Remote Service.

Define a Service Interface

As with any OSGi service, you must first define your service interface. Here is a trivial example 'hello' service interface:

package org.eclipse.ecf.examples.remoteservices.hello;
 
public interface IHello {
 
	public void hello(String from);
 
}