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 9. Managing bundles

 

This chapter covers
  • Versioning packages and bundles in a meaningful way
  • Configuring bundles using the Configuration Admin Service
  • Describing bundle configuration data using the Metatype Service
  • Saving bundle settings using the Preferences Service
  • Deferring bundle startup using lazy activation

 

We’ve covered a lot of ground so far. You know how to use modularity to improve the cohesiveness of your application code; how to use lifecycles to bring dynamic installations and updates to application environments; and how to use services to decouple your modules via interface-based programming techniques. You’ve also learned approaches and techniques for creating, testing, and debugging bundles. In this chapter and ...

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