Skip to main content

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.

Jump to: navigation, search

Getting the Hello Example Service

ECF has moved to using git for it's source code control. The top-level of the repository is here.


The following projects are located in the ecf git repository. These hello example projects are underneath <ecf tree>/examples/bundles.

org.eclipse.ecf.examples.remoteservices.hello
org.eclipse.ecf.examples.remoteservices.hello.host
org.eclipse.ecf.examples.remoteservices.hello.consumer
org.eclipse.ecf.examples.remoteservices.hello.ds.host
org.eclipse.ecf.examples.remoteservices.hello.ds.consumer

There is also an example of the use of the OSGi Remote Service Admin Endpoint Description Extender Format (EDEF...defined in chapter 122 section 8) in this example bundle

org.eclipse.ecf.examples.remoteservices.hello.consumer.edef

This project is available in git here.

See also the documentation about this new file-based discovery format in Discovery with the Endpoint Description Extender Format.

IHello Example Service

The IHello service interface is in the o.e.e.examples.remoteservices.hello bundle. The hello.host is the service host, and the hello.consumer is the service consumer/client. The o.e.e.e.r.hello.ds.host is a version of the host that uses declarative services, and o.e.e.e.r.hello.ds.consumer is a version of the consumer that also uses declarative services.

Back to the top