Develop a simple OSGi application
This tutorial demonstrates how to create an OSGi application and run it on either WebSphere® Application Server traditional or Liberty. The OSGi application consists of an OSGi web bundle that contains a servlet that accesses a service that is provided in another bundle project. This tutorial is an introduction to using OSGi application development tools.
Learning objectives
In this tutorial, the following learning objectives are met:- Create an OSGi bundle and an OSGi application.
- Create and configure an OSGi blueprint configuration file.
- Configure component dependencies.
- Add dependency injection within a bundle.
- Add dependency injection between bundles.
- Deploy an OSGi application to a server.