Java EE developers increasingly want to utilize OSGi to develop modular applications for component and service-based architectures. But tools required for OSGi implementation have been slow to develop. Spring Dynamic Modules (Spring DM) is a framework that simplifies the creation of component and service-oriented architectures with OSGi, to build modular Java applications using the powerful Spring framework. Spring Dynamic Modules in Action presents the fundamental concepts of OSGi-basedapps and maps them to the familiar ideas of the Spring framework. Then, it teaches the techniques and concepts required to develop stable, flexible enterprise apps. Along the way, readers will learn to incorporate other topics including dependency injection and unit testing in an OSGi-based environment. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
I liked this book because it covers both OSGi and the Spring-specific solution. You get an idea of some of the challenges in store for those who are daring enough to move over to the world of OSGi. The discussion on installing Hibernate and web containers is likely to be useful to a bunch of folks and can save you some time. Even if you aren't planning on using Spring dm, now Eclipse's project Gemini, the book gives a nice view of OSGi and the surrounding landscape.