||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.