OSGi stands for Open Services Gateway initiative. In this framework, every jar acts as a bundle and its dependencies are configured in the META-INF of the jar. Major implementations of OSGi framework are Felix (By Apache), Equinox (By Eclipse) and Knopflerfish.

Quick Start:

  • Create a simple OSGi bundle and deploy it in Eclipse Equinox (an OSGi framework).

Create a Bundle and deploy in an OSGi framework

  • Create two bundles with one bundle dependent on other and deploy in Eclipse Equinox.

Resolving OSGi Bundle Dependencies

  • Download JBoss FUSE and Developer’s Studio and deploy a bundle in it.

Install and deploy bundle in JBoss FUSE OSGi container

Back to Top
%d bloggers like this: