Spring Dynamic Modules is a flexible OSGi-based framework that makes component building a snap. With Spring DM, you can easily create highly modular applications and you can dynamically add, remove, and update your modules.
Spring Dynamic Modules in Action is a comprehensive tutorial that presents OSGi concepts and maps them to the familiar ideas of the Spring framework. In it, you'll learn to effectively use Spring DM. You will master powerful techniques like embedding a Spring container inside an OSGi bundle, and see how Spring's dependency injection compliments OSGi. Along the way, you'll learn to handle data access and web-based components, and explore topics like unit testing and configuration in OSGi.
This book assumes a background in Spring but requires no prior exposure to OSGi or Spring Dynamic Modules.
Part 1 Spring DM basics
1 Modular development with Spring and OSGi
2 Understanding OSGi technology
3 Getting started with Spring DM
Part 2 Core Spring DM
4 Using Spring DM extenders
5 Working with OSGi services
6 OSGi and Spring DM for enterprise applications
7 Data access in OSGi with Spring DM
8 Developing OSGi web components with Spring DM and web frameworks
Part 3 Advanced topics
9 Advanced concepts
10 Testing with Spring DM
11 Support for OSGi compendium services
12 The Blueprint specification
appendix A Spring DM development with Eclipse
appendix B OSGi development with Maven 2
appendix C Spring DM development with Ant and Ivy
appendix D OSGi development with the Pax tools