Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment
Administer OSGi Applications
Configure an enterprise bundle archive (EBA) asset, and maintain the bundle versions used by the EBA asset. Administer bundles, composite bundles, composite bundle extensions, and bundle repositories.
Before you begin
This topic assumes that we have already packaged your OSGi application as an enterprise bundle archive (EBA) file, and imported it into WAS, as described in Develop and deploying an OSGi application. You might also have added one or more composite bundle extensions to the deployed application.
Subtopics
- Update bundle versions for an EBA asset
After you import your OSGi application as an asset, newer versions of the bundles or composite bundles that the asset uses might become available. We can configure the deployed asset to use an updated version of any bundle or composite bundle used by the asset. We can choose to use a specific bundle version, or to pull in the latest compatible version.- Maintain an OSGi composition unit
Whenever an enterprise bundle archive (EBA) asset is updated, you can (optionally) update the associated composition unit. You might also update a composition unit to add or remove a composite bundle extension. If any updates need configuration changes, you can also modify the configuration information for the composition unit.- Check the bundle download status of an EBA asset
Updating an asset to use a new bundle version might require bundle downloads. We cannot update an asset until bundle downloads are complete from any previous update. Before you try and update bundle versions, you can check the bundle download status of the asset.- Check the update status of an OSGi composition unit
When you change the versions of bundles or composite bundles that an enterprise OSGi application uses, or add or remove a composite bundle extension, the bundles used by the deployed application can get out of synchronization with those that are available.To check that your business-level application is running the most recent version of the EBA asset and any composite bundle extensions, you check the update status of the associated OSGi composition unit.
- Administer bundle repositories
OSGi applications can share a large number of common utility bundles.To simplify maintenance, and reduce the application footprint, the application does not need to include its own copy of each utility bundle. Instead, bundles can be hosted in a bundle repository, from where they are retrieved during deployment. We can administer bundles and composite bundles held in the internal bundle repository of the product, and also add links to external bundle repositories.
- Export and importing a deployment manifest file
We can export the deployment manifest file from an application, then import the manifest file into another instance of the same application located somewhere else. This process is useful when an application moves from one environment to another, for example from a test environment to a production environment.
Related concepts:
About OSGi Applications
Enterprise bundle archivesRelated tasks:
Secure OSGi ApplicationsRelated reference:
OSGi Applications: Troubleshooting tips
Task topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.