97
PraCtiCing Coda with osgi
application in the last section, we just need to copy JAR files of these bundles in the
folder from which we are running the above launcher. Because the launcher loads all
the JAR files in the current folder onto the OSGi framework, all three bundles would
get deployed onto the framework.
5.6 OSGi Life Cycle Layer
e module layer defines an OSGi bundle. e life cycle layer defines how a bundle is
installed, activated, updated, and uninstalled. Once deployed onto an OSGi runtime
framework, a bundle can be in one of the following states:
• Installed—A bundle can be installed by another bundle. Once a bundle is
installed, an object of type Bundle is returned by the framework runtime. All
life cycle operations such as st ...