Before you deploy an application using OSGi, you package the application as a set of bundles that interact using the OSGi service registry.