The OSGi EventAdmin
service provides a means to publish and receive events between bundles. This can be used to build applications that dynamically react to changes from external or internal sources.
This chapter will present the OSGi EventAdmin
service and how it can be used to build decoupled applications. The EventAdmin
service is an example of the whiteboard pattern, and therefore provides a means to loosely couple the components together.