Jump to: navigation, search

Difference between revisions of "Getting Started with ECF's RFC119 Implementation"

(Service Interface)
(Service Interface)
Line 14: Line 14:
 
</source>
 
</source>
  
This service is defined, along with a simple implementation, in this project in CVS:
+
This service is defined, along with a simple implementation, in this project in CVS
  
 
cvs: ''':pserver:anonymous@dev.eclipse.org:/cvsroot/rt'''  
 
cvs: ''':pserver:anonymous@dev.eclipse.org:/cvsroot/rt'''  
 
module: '''org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello'''
 
module: '''org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello'''
  
There is also a [[Hello.psf|project set file]] for this project.
+
There is also a [[Media:Hello.psf|project set file]] for this project.

Revision as of 19:22, 27 May 2009

Install ECF 3.0. See ecf download.

Service Interface

As with any OSGi service, you need to define your service interface. Here is a trivial 'hello' service interface:

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

This service is defined, along with a simple implementation, in this project in CVS

cvs: :pserver:anonymous@dev.eclipse.org:/cvsroot/rt module: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello

There is also a project set file for this project.