OSGiArchitectureBundles: JAR files with manifestServices: Connects bundlesServices Registry: Management of servicesModules: Import/export interfaces for bundlesPossible to “wrap” existing Java apps and JARsAdd additional manifest info to create OSGi bundleE.g.: Jetty web server now ships with OSGi manifest; now extensively used with OSGi containers and custom bundlesFor NetServ, we created a OSGi bundle for the Muffin HTTP proxy serverImage credit: Wikipedia
OSGi“Dynamic module system for Java” - website
Why OSGi? Why not just JAR files?

OSGi summary

  • 1.
    OSGiArchitectureBundles: JAR fileswith manifestServices: Connects bundlesServices Registry: Management of servicesModules: Import/export interfaces for bundlesPossible to “wrap” existing Java apps and JARsAdd additional manifest info to create OSGi bundleE.g.: Jetty web server now ships with OSGi manifest; now extensively used with OSGi containers and custom bundlesFor NetServ, we created a OSGi bundle for the Muffin HTTP proxy serverImage credit: Wikipedia
  • 2.
    OSGi“Dynamic module systemfor Java” - website
  • 3.
    Why OSGi? Whynot just JAR files?