Converting an enterprise application to an OSGi application
You convert an enterprise application to an OSGi application by completing manual tasks that convert the EAR file to an enterprise bundle archive (EBA) file.
To convert our enterprise application to an OSGi application, we must separately convert each of the components in the EAR file.
Complete the following tasks:
- Change the file extension from .ear to .eba.
- Convert any web application archive (WAR) files to OSGi web application bundles.
- Convert any enterprise bean (EJB) JAR files to OSGi EJB bundles.
- Convert any utility JAR files to OSGi bundles.
- Convert any persistence archive files to OSGi persistence bundles.
- Convert Java 2 security settings to OSGi.
These tasks are described in detail in the following subtopics:
Subtopics
- Converting a web application archive file to an OSGi web application bundle
When we convert an EAR file to an enterprise bundle archive (EBA) file, you complete manual tasks to convert any web application archive (WAR) files in the EAR file to OSGi web application bundles.- Converting an EJB JAR file to an OSGi EJB bundle
When converting an EAR file to an enterprise bundle archive (EBA) file, you complete manual tasks to convert any enterprise bean (EJB) JAR files in the EAR file to OSGi EJB bundles.- Converting a utility JAR file to an OSGi bundle
When converting an EAR file to an enterprise bundle archive (EBA) file, you complete manual tasks to convert any utility JAR files in the EAR file to OSGi bundles.- Converting a persistence archive file to an OSGi bundle
When converting an EAR file to an enterprise bundle archive (EBA) file, you complete manual tasks to convert any persistence archive files in the EAR file to OSGi bundles.- Converting Java 2 security settings in an enterprise application to OSGi
When converting an EAR file to an enterprise bundle archive (EBA) file, we can have any Java 2 security settings converted automatically to OSGi, and then manually refine them to obtain the required OSGi security configuration.
Related:
Web application bundles Java 2 security and OSGi Applications Enterprise bundle archives Converting a Spring application to an OSGi application Deploy an OSGi application as a business-level application Secure OSGi applications Example: OSGi bundle manifest file
File name: was1523.html
prettyPrint();