Spring and OSGi - A Perfect Match?
The goal of Spring’s OSGi support is to make it as easy as possible to write Spring applications that can be deployed in an OSGi execution environment, and that can take advantage of the services offered by the OSGi framework. Spring’s OSGi support also makes development of OSGi applications simpler and more productive by building on the ease-of-use and power of the Spring Framework.
Among the benefits envisioned:
- Better separation of application logic into modules
- The ability to deploy multiple versions of a module concurrently
- The ability to dynamically discover and use services provided by other modules in the system
- The ability to dynamically deploy, update and undeploy modules in a running system
- Use of the Spring Framework to instantiate, configure, assemble, and decorate components within and across modules.
- A simple and familiar programming model for enterprise developers to exploit the features of the OSGi
An implmentation is targeted to have an initial release in Spring 2.1. Martin Lippert and Gerd Wutherich have sandbox Spring OSGi code running inside a web application using the servlet container embeddable equinox support created by the server-side equinox incubator project. Initial support will be for the Eclipse Equinox project and then expanded to other OSGi providers if possible.
upgrade framework
by
karan malhi
An application running in an OSGi execution environment will be easier to upgrade as you could upgrade module by module and always revert back to the previous version in case of issues.
Educational Content
Writing Usable APIs in Practice
Giovanni Asproni May 19, 2013
Concurrency in Clojure
Stuart Halloway May 17, 2013
Confessions of an Agile Addict
Ole Friis Østergaard May 16, 2013





Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think