Java Reference
In-Depth Information
Managing applications
This chapter covers
Discovering and deploying bundles using the OSGi
Bundle Repository
■
Deploying applications using Deployment Admin
■
Controlling bundle activation order using start levels
■
In the last chapter, we focused on issues relating to the management of individual
bundles, such as how to version them, manage their configuration data, and con-
trol their activation policies. Now, we'll move beyond managing individual bundles
to issues related to managing
OSG
i-based applications composed of many bundles.
As we've mentioned previously, in
OSG
i-based applications the deployed set of bun-
dles is your application's configuration. This is a powerful aspect of the
OSG
i
approach, so understanding this point and knowing how to manage sets of bundles
is important to be able to fully take advantage of
OSG
i technology.
In this chapter, we'll explore a couple of different aspects of application
management:
Deploying applications using the
OSG
i Bundle Repository or Deployment-
Admin
■
Controlling bundle activation order using the StartLevel service
■
319