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"
(New page: First, install ECF 3.0. See [http://www.eclipse.org/ecf/downloads.php ecf download]. Then, as with any OSGi service, you need to define your service interface. Here is a trivial 'hello'...) |
|||
Line 1: | Line 1: | ||
− | + | Install ECF 3.0. See [http://www.eclipse.org/ecf/downloads.php ecf download]. | |
− | + | ===Service Interface=== | |
+ | |||
+ | As with any OSGi service, you need to define your service interface. Here is a trivial 'hello' service interface: | ||
<source lang="java">package org.eclipse.ecf.examples.remoteservices.hello; | <source lang="java">package org.eclipse.ecf.examples.remoteservices.hello; | ||
Line 11: | Line 13: | ||
} | } | ||
</source> | </source> | ||
+ | |||
+ | This service is defined, along with a simple implementation, in this project in CVS: | ||
+ | |||
+ | :pserver:anonymous@dev.eclipse.org:/cvsroot/rt | ||
+ | module: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello |
Revision as of 20:13, 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:
- pserver:anonymous@dev.eclipse.org:/cvsroot/rt
module: org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello