Best practices for OSGi bundle development

Authors Werner Putschögl
Title Best practices for OSGi bundle development
Type techreport
Number SCCH-TR-0801
Address Hagenberg, Austria
Institution Software Competence Center Hagenberg GmbH
Department ISE
Month January
Year 2008
SCCH ID# 801

After developing several OSGi bundles for different applications, we identified a few recurring problems and pitfalls. The problems reach from general design issues to OSGi specific issues, resulting from the highly dynamic nature of the OSGi framework. Automated testing of OSGi bundles via unit tests is another topic. For some of these topics we found our own solutions while others were already covered by various best practice solutions. In the following, we describe in detail the problems and solutions used during our implementation.