title: Accessing OSGi bundle's interface from an EJB
body: <p>I have a very basic knowledge of OSGi and I would like to ask the following questions:</p>
  
  <p>Is it possible to call a service or interface of OSGi from an EJB in the JBoss 7.1 server running?</p>
  
  <p>If yes, let's say I have an EJB that implements "HelloWorld" from a bundle. What exactly happens in the runtime if I stop this bundle and start another one?</p>
  
  <p>I would really appreciate if anyone can provide an example how to do manage this.</p>
  
  <p>Thank you!</p>