O'Reilly logo

Mastering Spring Application Development by Anjana Mankale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Spring integration with OSGI

Spring provides complete support for OSGI development. The OSGI module support was called Spring OSGI, and it is presently updated with a new set of libraries and versions called Spring Dynamic Modules. A Spring Dynamic Module allows you to write Spring applications on top of an OSGI framework. One of its challenges is to make simple POJOs to seamlessly work with the OSGI framework and to integrate Spring Beans as an OSGI service. Spring Beans can be exported as an OSGI services

<bean name="authorService" 
 class="com.packt.osgi.authorservice.impl.AuthorServiceImpl"/> 
<osgi:service id="auhtorServiceOsgi" 
 ref="authorService" 
 interface="com.packt.osgi.authorservice.AuthorService"/>

The Spring dynamic programming model provides ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required