ApacheCon Europe 2012

Rhein-Neckar-Arena, Sinsheim, Germany

5–8 November 2012

OSGi best practices shown on Apache Karaf

Christian Schneider

Audience level:
Modular Java Applications

Wednesday 5:45 p.m.–6:30 p.m. in Rhein-Neckar


Christian shows some of the best practices for writing lean OSGi applications he learned while working on Apache Karaf and doing customer projects on this platform.


The OSGi platform is often percieved as more complex to work on than other server platforms like servlet containers or Java EE. This talk shows that you can achieve high modularity, dynamic behaviour and simplicity at the same time when following some best practices for OSGi. The talk will be very hands on showing the best practices live in some examples taken from the tutorial series about Apache Karaf that Christian maintains. The talk will require some basic understanding of OSGi and Apache Maven.