Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Spring Application Development
  • Table Of Contents Toc
Mastering Spring Application Development

Mastering Spring Application Development

By : Anjana Mankale
2 (1)
close
close
Mastering Spring Application Development

Mastering Spring Application Development

2 (1)
By: Anjana Mankale

Overview of this book

If you are a Java developer with experience in developing applications with Spring, then this book is perfect for you. A good working knowledge of Spring programming conventions and applying dependency injections is recommended to make the most of this book.
Table of Contents (14 chapters)
close
close
13
Index

Integrating Spring Dynamic Modules with OSGI


In this section, let us demonstrate how we can integrate Spring Dynamic Modules to work with an OSGI application. Spring Dynamic Modules (Spring DM) makes the development of OSGI-based applications a lot easier. We can easily inject the services like any other Spring beans.

We shall look at the following dependencies required to integrate Spring Dynamic Modules:

  • OSGI services

  • The BundleActivator class

  • The Context.xml file configuration to inject in the service

The following is the list of dependencies that needs to be made available in the application classpath:

  • com.springsource.net.sf.cglib-2.1.3.jar

  • com.springsource.org.aopalliance-1.0.0.jar

  • log4j.osgi-1.2.15-SNAPSHOT.jar

  • com.springsource.slf4j.api-1.5.0.jar

  • com.springsource.slf4j.log4j-1.5.0.jar

  • com.springsource.slf4j.org.apache.commons.logging-1.5.0.jar

  • org.springframework.aop-3.x.jar

  • org.springframework.beans-3.x.jar

  • org.springframework.context-3.x.jar

  • org.springframework.core-3.x.jar...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Spring Application Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon