Modular Java: Declarative OSGi with Spring Dynamic Modules

This session will introduce you to Spring-DM. You'll learn how working with OSGi services can be as easy and as natural as declaring a in Spring. In addition, we'll look at how to use Spring-DM's web extender to develop modular web applications in OSGi. And we'll see how Spring-DM became part of the OSGi specification as Blueprint Services.

OSGi is a great framework for realizing true modularity in your Java applications. Unfortunately, however, working with OSGi services requires coding directly to the OSGi API and getting to know some new patterns for dealing with service availability.

If having to work with the OSGi API makes you feel uneasy, then have a look at Spring Dynamic Modules (aka, Spring-DM). Spring-DM brings a declarative service model to OSGi, relieving you from programatically servicing and consuming services. What's more, because Spring-DM is based on the popular Spring Framework, it brings all of the power of Spring to OSGi development.


About Craig Walls

Craig Walls

Craig Walls has been professionally developing software for over 17 years (and longer than that for the pure geekiness of it). He is a senior engineer with SpringSource as the Spring Social project lead and is the author of Spring in Action and XDoclet in Action (both published by Manning) and Modular Java (published by Pragmatic Bookshelf). He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring and OSGi on his blog. When he's not slinging code, Craig spends as much time as he can with his wife, two daughters, 4 birds and 3 dogs.

More About Craig »