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

Talk:Tutorial: Building your first OSGi Remote Service

Help! Things have changed in the git repos of the examples since this tutorial was written. Now, there are multiple files in the respective launch folders of the bundles. Which one should be picked in order to get the example working?

Hi. The best ones to use for initial introduction are:

Host: /com.mycorp.examples.timeservice.host/launch/TimeServiceHost.generic.noreg.product

Consumer: /com.mycorp.examples.timeservice.consumer.ds/launch/TimeServiceConsumer.ds.generic.noreg.product

These use the ECF generic provider, without the Equinox Service Registry (noreg), and both use Zeroconf/Jmdns for lan-based discovery.

The others are present to use other distribution providers (rosgi, rest, jgroups), no reg or reg, and other discovery providers (e.g. etcd)

Back to the top