To develop OSGi application, the OSGi specification defines two things: first the set of services that the OSGi container needs to implement and second a contract between the OsGi container and the application. So in short, you need a OSGi container to run your OSGi complaint application. As of now there are 3 containers that are OSGi complaint; Knopflerfish,Equinox and Apache Felix.
OSGi offers several advantages
- one can install,uninstall,start, stop any modules of the application at runtime.
- Helps to build service-oriented applications
- Application can have more than one version of a module running at the same time.
In the next article I will show you how each of these advantages translates into code rather than just plain english sentences in your tech vocab.