O'Reilly logo

OSGi in Action: Creating Modular Applications in Java by David Savage, Stuart McCulloch, Karl Pauls, Richard Hall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Learning lifecycle

 

This chapter covers
  • Understanding software lifecycle management
  • Introducing the lifecycle of a bundle
  • Exploring the lifecycle layer API
  • Extending an application to make it lifecycle aware
  • Explaining the relationship between the module and lifecycle layers

 

In the last chapter, we looked at the OSGi module layer and introduced you to bundles: a bundle is OSGi terminology for a module, which is a JAR file with the extra modularity metadata. You use bundles to define both the logical (code encapsulation and dependencies) and physical (deployable units) modularity of an application.

The OSGi module layer goes to great lengths to ensure that class loading happens in a consistent and predictable way. But to avoid ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required