It would be interesting if code running inside the EJB Container can performs
calls to the OSGi framework that is already running the GF modules.
Doing so, the benefits of OSGi (e.g. discovering services that are added during
runtime) can be combined with the benefits you get from the EJB container.
Another example of this is a web page that uses a Servlet to get some data. The
code providing the data might be available as an OSGi Bundle, and should somehow
be registered with an OSGi Framework. If the EJB Container allows direct OSGi
calls, the Servlet can delegate the request to a Session Bean, and this one can
query the OSGi Framework.