Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications
Develop OSGi applications
We can develop bundles, optionally group them into composite bundles, and add them to an OSGi application or a bundle repository.
Procedure
- Develop and deploy an OSGi application.
As an introduction to developing an OSGi application, you can develop a simple hello-world OSGi application, which consists of two bundles. One bundle defines a hello service, and the other is a client bundle that uses this service to produce the message "OSGi Service: Hello World!".
- Develop a composite bundle.
A composite bundle groups shared bundles together into aggregates. It provides one or more packages at specific versions to an OSGi application. We can also extend a deployed application by adding one or more composite bundles to the composition unit for the application.
- Convert existing applications to OSGi applications.
We can convert an enterprise application or a Spring application to an OSGi application.
Subtopics
- Develop a composite bundle
A composite bundle groups shared bundles together into aggregates. It provides one or more packages at specific versions to an OSGi application. We can also extend a deployed application by adding one or more composite bundles to the composition unit for the application. We can use OSGi application tooling to develop a composite bundle.- Sample OSGi applications
OSGi Applications support includes sample applications that demonstrate how to write and package bundles into an enterprise bundle archive (EBA) file.
Related concepts:
About OSGi ApplicationsRelated 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.