Chapter 11. Launching OSGi using start levels
This chapter covers
- Managing bundles that are misbehaving by automatically uninstalling them
- Handling a large number of bundles without impacting startup time
- Enabling end users to interact with OSGi applications without learning the OSGi framework
- Creating an easy-to-use product installation kit for OSGi applications
So far we’ve created several OSGi applications. You’ve learned that OSGi applications are formed by a set of collaborating bundles and services, and you’ve learned how best to develop them, avoiding dependencies between services and therefore increasing their extensibility. In the process, you’ve learned how to configure your applications, handle events, persist data, participate in transactions, and share objects with other applications.
We’re now ready to bootstrap and run the OSGi framework with our applications. To do so properly, you’ll learn in this chapter how to launch the OSGi framework with a simpler custom interface, how to deploy your applications in a consistent manner, and finally how to keep the applications up to date and support live plug-ins of extensions.