OSGi
These samples demonstrate how to use OSGi application development tools. They provide an introduction to the tools, and advanced information about using Enterprise JavaBeans (EJB) and Maven in OSGi bundles.
- OSGi Counter Service
This sample demonstrates how to declare services in the blueprint file of a bundle, which makes it accessible by other bundles in the application. The OSGi application consists of an OSGi web bundle that contains a servlet that accesses a service that is provided in another bundle project. The application runs on either WebSphere® Application Server traditional or Liberty. This sample is an introduction to using OSGi application development tools. - OSGi Blog
This sample is an advanced introduction to using OSGi application development tools. The sample demonstrates how to structure the API and implementation code into separate bundles. The OSGi application consists of an OSGi web bundle that contains servlets that access a JPA service provided in another bundle. The application runs on WebSphere Application Server. - OSGi Hello World
This sample demonstrates how to create a simple OSGi application and run it on WebSphere Application Server. The OSGi application consists of an OSGi web bundle that contains a servlet and an activator that identifies the lifecycle of the bundle in the Console view. This sample is an introduction to using OSGi application development tools. - OSGi Calculator
The sample demonstrates how to use Maven in OSGi bundles. The OSGi application consists of an OSGi web bundle that contains a servlet that access services provided by other bundle projects. The bundle projects that provide the services (addition, multiplication) are Maven projects that are converted to OSGi. The application runs on WebSphere Application Server. This sample is an introduction to using OSGi development tools.
Parent topic: Samples

