Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Getting Started with ECF's RFC119 Implementation"
(→Service Interface) |
|||
Line 17: | Line 17: | ||
cvs: ''':pserver:anonymous@dev.eclipse.org:/cvsroot/rt'''<br> | cvs: ''':pserver:anonymous@dev.eclipse.org:/cvsroot/rt'''<br> | ||
− | + | modules: '''org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello''', '''org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host''', '''org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer''' | |
− | + | Here is a [[Media:Hello.psf|project set file]] for this project. |
Revision as of 00:20, 28 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
modules: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello, org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host, org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer
Here is a project set file for this project.