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 ...

Get Mastering Spring Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.