You can use an OSGi application as a Service Component Architecture (SCA) component.
Identify the OSGi application to use as an SCA component. An OSGi application is a collection of OSGi bundles that use the Blueprint component model to expose or consume services. An OSGi application contains an application manifest that declares the following services:
You can use SCA to provide service bindings for these services. The Feature Pack for SCA must be at service level 1.0.1.5 or later.
An OSGi application declares external services in the Application-ImportService and Application-ExportService statements of its application manifest, which is provided in the META-INF/APPLICATION.MF file of the enterprise bundle archive (EBA). The Application-ExportService statement declares remote services that are provided by the OSGi application. The Application-ImportService statement declares services on which the OSGi application depends. All services specified in the application manifest are remotable.
The OSGi application is defined as an SCA component.
Deploy the OSGi application and the SCA composite that uses the application as composition units of the same business-level application. You can use the administrative console or wsadmin commands to create a business-level application, import the EBA file and SCA composite as assets, and then add the EBA and SCA assets as composition units to the business-level application.
In this information ...Subtopics
Related tasks
| IBM Redbooks, demos, education, and more(Index) |