osgi - Remote Declarative Services In Equinox -


I am trying to provide a remote declaration service using Eclipse ECF. In the definition of service provider component, I have set the following attributes:

  service.exported.interfaces = * service.exported.configs = ecf.generic.server ecf.generic.server.id = Ecftcp: // localhost: 3787 / server  

However, how can the service be searched from the consumer side using these properties.
(I want to be able to provide service from a osgi environment and search it from any other osgi.)

Discovery will run automatically if you have specified "service.exported.interfaces" To work for it, you need to install the ECF search bundle in both your targets. Above this, you have to choose a search provider. Like SLP, JmDNS or Zookeeper

Please note that some search providers need additional features to run correctly. For example, if you have a double network, then you have to specify in JMDNS provider on which to search the network.

Ensure that the ECF distribution bundle has started. It does not start automatically


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -