In this chapter, we present a different type of deployment with Arquillian and show how you can test your OSGi bundles using Arquillian and JBoss OSGi. We will also review how you would deploy OSGi-based bundles into other containers that support OSGi, such as GlassFish, and the advanced capabilities that you receive by doing this.
While OSGi has many uses and runtimes available, using any of them requires deep integration into the application server. The primary use in this chapter is around JBoss OSGi, which provides integration to the application server for Apache Felix.