Advertisement

Sri Lanka's First and Only Platform for Luxury Houses and Apartment for Sale, Rent

Friday, August 19, 2011

Spring Dynamic Modules for OSGi (1)

Lately I have been testing out Spring Dynamic Modules for OSGi. Open Service Gateway Initiative (OSGi) is a dynamic module and service system for Java. It enables modules (well known as bundles) with specific functionality to be installed, started, stopped, removed without interrupting or stopping the execution life cycle.

OSGi specifies an API to develop bundled applications which are;

  • Modular
  • Flexible
  • Independent
  • Dynamic
An OSGi bundled application can be run in many OSGi containers available such as;

  • Apache Felix
  • Eclipse Equinox
  • Knopflerfish
and many more...

But the problem with OSGi is that it restricts the developer to use a strictly specified set of API classes and doesn't enable the flexibility offered in spring enabled application where everything is defined in beans. To tackle this spring has put forward a framework for Dynamic Modules in OSGi while leveraging the flexibility of the Spring framework.

Expect more in the coming posts...

No comments: