Chapter 5. Configuring OSGi applications
This chapter covers
As you’ll see, most applications need some form of configuration. This configuration includes not only IT-related configuration, such as server names and TCP/IP ports, but also business-related configuration, such as custom or localized labels.
The OSGi platform provides several services, including the Configuration Admin service, the OSGi Log service, and the OSGi Metatype service, that collectively can be used as a configuration framework for OSGi applications.
In this chapter, we’ll look into these services and see how they can be used collectively to configure an application. We’ll start by confronting the configuration problem systematically.