Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling Osgi service from Servlet

 
Aslan Bekirov
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.

BR,
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!