Tag Archives: karaf

Integration Testing OSGi Bundles in Apache Karaf/ServiceMix with Pax Exam 3

This short post demonstrates a bare-bones configuration of Pax Exam 3 for testing an OSGi bundle deployed in ServiceMix 4.  Over the last couple years, Pax Exam and Apache Karaf introduced some fantastic features enabling the provisioning of a clean … Continue reading

Posted in Uncategorized | Tagged , , , , | 4 Comments

Deploying Spring MVC Based Web Applications to OSGi Using Apache ServiceMix

The OSGi specification defines appropriate bundle manifest headers and mechanisms for the deployment of servlet-based WAR packaged applications into an OSGi container. As with most APIs, programming a modern application using the Servlet specification requires copious amounts of boilerplate code … Continue reading

Posted in Uncategorized | Tagged , , , | 38 Comments

Combining Karaf Features, PAX URL, and Maven to deploy a plain JAR as an OSGi bundle

I recently found myself in the situation where I needed to provide an easy way for a client to install a set of OSGi bundles and their dependencies.  Karaf Features allow you to name a collection of bundles and other … Continue reading

Posted in Uncategorized | Tagged , , , | 4 Comments