Skip to main content
Jump to: navigation, search

EIG:Distributed EventAdmin Service

Revision as of 15:54, 11 June 2009 by (Talk | contribs) (Getting the Distributed EventAdmin Service)


OSGi declares an EventAdmin service that is responsible for distributing events to listeners registered via the (org.osgi.service.event.EventHandler). It's possible to create distributed implementations of such services using JMS and/or other messaging frameworks for distributing messages to other OSGi frameworks.


ECF's provider architecture allows the creation of a distributed EventAdmin implementation that can use a variety of wire protocols. For example, ActiveMQ/JMS 5.2 as above, or ECF generic, XMPP, JavaGroups, commercial/proprietary messaging buses, or any others that can implement the ECF Shared Object API.

Getting the Distributed EventAdmin Service

First, install ECF 3.0. Here is the download page.

Then get the two projects that implement the event admin example. This is a project set file. Save the project set file to your local disk and then import to get into your Eclipse workspace. For anonymous CVS access:

host: path: /cvsroot/rt module: org.eclipse.ecf/examples/bundles projects: org.eclipse.ecf.examples.eventadmin,

Once these two projects are in your workspace, you can run the ECF generic based server and client by opening the product editor for the following product files: Generic Server.product Generic Client.product


To run, click on 'Launch an Eclipse application' at the lower left.

Back to the top