users@glassfish.java.net

Re: Accessing OSGi Context / Bundles from a standard WAR/EAR/etc in GF v3.0

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Tue, 27 Apr 2010 09:38:12 -0700

Here is a sample that shows how to invoke a OSGi service from a JAX-WS
endpoint:

http://blogs.sun.com/arungupta/entry/totd_130_invoking_a_osgi

This is deployed in v3.0.

HTH,
-Arun

On 4/27/10 3:56 AM, glassfish_at_javadesktop.org wrote:
> Hello,
>
>
> Is it somehow possible in a released GlassFish v3.0 to get a bundle context (to access osgi bundles and services) from a simple standard war or ear ? I would like to deploy some part of a application as osgi bundles, export some services from them and than access these exported services from a simple WAR/EAR. I need such weird combination because GF v3.1 is not available now and I am searching for some workarounds possible for the already released GF v3.0.
>
> Thanks in advance !
> [Message sent by forum member 'smikesh']
>
> http://forums.java.net/jive/thread.jspa?messageID=399205
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

-- 
Blog: http://blogs.sun.com/arungupta
Twitter: http://twitter.com/arungupta