Enabling the OSGi model library
To manage and deploy components and applications as Open Services Gateway initiative (OSGi) bundles, you can enable the OSGi model library in IBM® Rational® Asset Manager. The OSGi model library is collection of asset types, categories, and relationships that can be used in OSGi bundles.
Before you begin
About this task
IBM WebSphere® Application Server versions 7 and 8 use a componentization model that is based on the OSGi framework.
You can activate a preconfigured OSGi lifecycle that supports the OSGi framework for assets.
Draft comment:
LJW: Check my revision of the next sentence. The original text was: "With the OSGi asset types and lifecycle, you can also closely integrate the assets in a community with a connection to an OSGi bundle repository for use with IBM WebSphere Application Server." Is the point to integrate assets with a connection so that you can use the assets in WAS? Or is the point to connect assets to a repository so that you can use the assets in WAS? RRP - Looks good. I added "and other applications" because with the OBR URL, you can use prety much any application with the OBR. I’d like to discuss how we might better handle that fact in the ua - this is a kind of integration, actually. Stick a ref to it under "other integrations" under Integrating?
With
the OSGi asset types and lifecycle, you can connect the assets in
a community to an OSGi bundle repository for use with WebSphere Application Server or other applications.
For more information, see Creating the OSGi lifecycle.LJW: Check my revision of the next sentence. The original text was: "With the OSGi asset types and lifecycle, you can also closely integrate the assets in a community with a connection to an OSGi bundle repository for use with IBM WebSphere Application Server." Is the point to integrate assets with a connection so that you can use the assets in WAS? Or is the point to connect assets to a repository so that you can use the assets in WAS? RRP - Looks good. I added "and other applications" because with the OBR URL, you can use prety much any application with the OBR. I’d like to discuss how we might better handle that fact in the ua - this is a kind of integration, actually. Stick a ref to it under "other integrations" under Integrating?
Procedure
Results
After you activate the library, the following OSGi asset types, categories, and relationship types are available in your repository:
Asset types:
- OSGiBundle
- OSGiPackage
- OSGiService
- OSGi Mapping Configuration, which maps IBM Rational Asset Manager to an OSGi bundle repository and configures that connection
Categories
- Kind, which you can use to categorize and organize Bundle asset types
Relationship types
These relationships provide common
ways to connect the OSGi asset types in the repository:
Exports / Exported ByProvides / Provided By
LJW: Make sure that I haven’t changed your intended meaning here. Based on the original text, I’m not sure if the framework supports the deployment and management of web applications as bundles or if the componetization model supports those activities. (RRP - both are true) I assumed that you meant "framework."