Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Remote OSGi services


I am busy with final prep for Ganymede so can't spend a lot of time with this now. Other committers (e.g. Markus), please jump in and help Eugen further.

Discovery is a way/can be used to find remote OSGI services...we have example code that does this in these three projects:


These are all located in


You can see the registration via discovery and as a remote service in this server class:

And the client is created by defining a 'serviceAccessHandler' extension. This is an extension declaration from the client's plugin.xml


We have been discussing/are discussing with the p2 folks how to create p2 meta-data and artifact repositories that
can be discovered via the ECF discovery API (with either provider...zeroconf/jmdns and/or jSLP) it makes perfect
sense to create/add publish via discovery other management interfaces (like the ones that you have been working on Eugen).


Eugen Reiswich wrote:
Hi all,

I need some help regarding ECF remote OSGi services and hope that someone is able to help me. The scenario is quite simple. I have some clients connected to a server (in my case XMPP server). If a new client connects to a server he is supposed to perform remote OSGi services on the already connected clients. But this is not possible as the remote OSGi service registration happens at the connection time.

Now I've found the ECF discovery service ( and wonder if this might be the right approach for me. Although I tried to get familiar with the code I didn't get the important steps.

Could please anybody tell me if the discovery service is the right approach in order to find dynamically remote services. And if possible post some code snippet of the important stepts to do (client and server side).

That would be really great!

ecf-dev mailing list

Back to the top