Where to Start

How to get started with OSGi

You understand the benefits of OSGi technology so where do you start?

  • If you are a Java developer and want to do some hands on work (Hello World anyone?), then the next section will link to the many introductory tutorials that are available on the web.
  • If you have any questions, there is an OSGi developer forum you can use to ask any question about OSGi technology. This forum is closely watched by many OSGi experts. You can use this list also to participate in discussions about the current specification
  • If you are interested to know more about the technology, then visit one of the conferences where there are OSGi related presentations. Probably the most intense conference on OSGi technology is OSGi DevCon that is combined with EclipseCon. However, there are many other conferences with OSGi speakers, so we have prepared a web page with upcoming conferences for you.
  • If you are looking for the specification, then go to the specifications page.
  • If you are considering using the OSGi technology in projects, then it is advisable to get some help from the outset. We have prepared a training page for you.
  • If you see business opportunities in OSGi and want to discuss these with the OSGi Alliance, do not hesitate to contact us.


Title Authors
Building Modular Cloud Apps with OSGi Paul Bakker, Bert Ertman
OSGi in Action: Creating Modular Applications in Java Richard S. Hall, Karl Pauls, Stuart McCulloch, David Savage
OSGi and Equinox: Creating Highly Modular Java Systems Jeff McAffer, Paul VanderLei, Simon Archer
OSGi in Depth Alexandre de Castro Alves
Enterprise OSGi in Action Holly Cummins, Timothy Ward

The OSGi Alliance delivers specifications, not implementations. The advantage is huge because you can then pick from many implementations. Since setting up an OSGi framework is different in each implementation, we link you to different tutorials on the web that show how to develop bundles for OSGi using different open source frameworks.

The following sections detail different tutorials centered around implementations. However, most tutorials are quite OSGi centric, the only real issue is how to get the framework started and what shell is used. However, it should be quite easy to take a tutorial from one framework and show it on another.

With Apache Felix

Apache Felix is derived from the first open source implementation of OSGi: Oscar. The site has quite a lot of educational material and excellent documentation.

  • Felix Tutorials – A large number of tutorials from simple concepts to very advanced.
  • Neil Bartlett’s book – Neil is working on an OSGi book and has some very interesting tutorial material. He uses Felix as the example framework in his book.

With Eclipse Equinox

Eclipse Equinox is the framework that underlies the Eclipse IDE. It is a very popular framework because it is well integrated with the IDE, which can also be used to develop bundles.

With Knopflerfish

Knopflerfish is the open source implementation of Makewave, who has been participating in the OSGi since day one.



For further educational material, see the Tutorials page.

More Information Sources

 If you have an interesting link for this page, do not hesitate to send it to the admin.