InfoQ

News

Spring and OSGi - A Perfect Match?

Posted by Scott Delap on Sep 14, 2006 07:06 AM

Community
Java
Topics
Programming
Tags
Spring,
OSGi
The Spring Framework has become a favorite of enterprise application developers in recent years. The OSGi specification and various Java implementations has also been growning in popularity. Work has recently begun to combine the power of these two complementary frameworks with a specification supported by BEA, Oracle, IBM, Eclipse, the OSGi Alliance.

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.

 

2 comments

Reply

upgrade framework by karan malhi Posted Sep 14, 2006 1:02 PM
Re: upgrade framework by sanane zorlayin Posted Jul 31, 2008 7:46 PM
  1. Back to top

    upgrade framework

    Sep 14, 2006 1:02 PM by karan malhi

    This reminds me of the discussion on upgrade framework on InfoQ http://www.infoq.com/news/upgrade-frameworks 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.

  2. Back to top

    Re: upgrade framework

    Jul 31, 2008 7:46 PM by sanane zorlayin

    client for Windows that can be used to communicate, share, play or work with others on Web Designers around the world, either in multi-user group conferences or in one-to-one private discussions. It has a clean, practical interface that is highly configurable and supports features such as buddy lists kurye web tasarım e-ticaret vprx google kayıt adwords reklam google reklam geciktirici seks büyütücü penis büyütücü kurye web tasarımı file transfers, multi-server connections, SSL encryption, proxy support, UTF-8 display, customizable sounds, spoken messages, tray notifications, message logging, and more. mIRC also has a powerful scripting language that can be used both to automate mIRC and to create applications that perform a wide range of functions from network communications to playing games. mIRC has been in development for over a decade and is constantly being improved and updated with new technologies. The latest news about mIRC can be found on the latest news page.

Exclusive Content

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.

Architectures of extraordinarily large, self-sustaining systems

Can a system that is so large it cannot be comprehended be "designed" in a conventional sense? The foundations of computing are about to change. In this talk, Richard P. Gabriel explores why and how.

Using Ruby Fibers for Async I/O: NeverBlock and Revactor

Ruby 1.9's Fibers and non-blocking I/O are getting more attention - we talked to Mohammad A. Ali of the NeverBlock project and Tony Arcieri of the Revactor project.

Agile and Beyond - The Power of Aspirational Teams

Tim Mackinnon talks about the aspirations behind the Agile principles and practices, the desire to become efficient, to write quality code which does not end up being thrown away.

Concurrency: Past and Present

Brian Goetz discusses the difficulties of creating multithreaded programs correctly, incorrect synchronization, race conditions, deadlock, STM, concurrency, alternatives to threads, Erlang, Scala.

ActionScript 3 for Java Programmers

Often the hardest part of changing technologies is language syntax differences. This new article provides Java developers with a transition guide to Actionscript which forms the foundation of Flex.

Neal Ford On Programming Languages and Platforms

Neal Ford talks about having multiple languages running on one of the two major platforms: Java and .NET. He also presents the advantages offered by Ruby compared to static languages like Java or C#.

Future Directions for Agile

David Anderson talks about the history of Agile, the current status of it and his vision for the future. The role of Agile consists in finding ways to implement its principles.