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 ...

Get OSGi in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.