File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Calling Osgi service from Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Calling Osgi service from Servlet" Watch "Calling Osgi service from Servlet" New topic

Calling Osgi service from Servlet

Aslan Bekirov

Joined: Sep 15, 2010
Posts: 1
I am a java developer new in OSGi. It will be very appreciated if you help me one issue.

I want to call service that is in bundle in OSGi container from the managed bean outside the OSGi envirement. As an example, when a request will come , the managed bean will call service in OSGi container then sent the data from OSGi service as response. Is it valid senario. if yes, how can I connect to OSGi bundle from managed bean.? A small example will be very helpful.

It is sorta covered in the JavaRanch Style Guide.
subject: Calling Osgi service from Servlet
Similar Threads
Central repository for OSGi bundles
Tutorial how to call OSGI service from EAR package
Portability of Spring applications running in OSGi and outside of OSGi
OSGi - Embedded Jetty Server - Servlet unable to get reference to Service Tracker
OSGi ain't the only way to modularize your apps