Re: Re: Re: Re: OSGi in Web Application

Guillaume Sauthier <[email protected]> Mon, 14 Mar 2011 12:02:44 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Organization Objectweb Consortium
Message-ID <[email protected]>
AFAIK, it should be possible to do it.
BTW, when you say "OSGi based Web Application on equinox", what does 
this mean ?
Simply that you uses the HttpService osgi service, or something else ?
--G

Le 14/03/2011 11:56, ajinkya prabhune a écrit :
>
> Hi ,
> No i create a OSGi based Web Application on equinox and now I am 
> trying to access a Declarative Service in
> one of the servlet.... In a servlet I have made 2 methods to bind and 
> unbind ...and a component.xml file in OSGI-INF folder
> and have given the class = servlet class
> am i right or is this not possible....
> On Mon, Mar 14, 2011 at 11:30 AM, Guillaume Sauthier 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     As a regular webapp is not an OSGi bundle, so you cannot use DS
>     inside it.
>     It has to be a real bundle (but then you lost all Java EE managed
>     aspects: web.xml, ...).
>
>     --G
>
>     Le 14/03/2011 11:20, ajinkya prabhune a écrit :
>>     Hello,
>>     i was trying to use Declerative Services in a Web Application ...
>>     could anyone let me know
>>     a way to do it ?
>>     I will be very much thankful .
>>     Regards
>>     Ajinkya
>>     On Fri, Jan 21, 2011 at 9:38 AM, ajinkya prabhune
>>     <[email protected] <mailto:[email protected]>>
>>     wrote:
>>
>>         hello
>>         I am trying to imlement a web application with OSGi support.
>>         like -  a web application will uses the services deployed in
>>         JOnAS .. can someone guide me with this issue
>>         thanks
>>
>>         -- 
>>         Thank you and Regards
>>         Ajinkya Prabhune
>>
>>
>>
>>
>>     -- 
>>     Thank you and Regards
>>     Ajinkya Prabhune
>>
>
>
>
> -- 
> Thank you and Regards
> Ajinkya Prabhune
>
Guillaume_Sauthier.vcf (text/x-vcard, 387 B)
begin:vcard
fn:Guillaume Sauthier
n:Sauthier;Guillaume
org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a>
adr:;;;;;;France
email;internet:[email protected]
title:<a href="http://jonas.ow2.org">JOnAS Application Server</a>
url:http://jonas.ow2.org
version:2.1
end:vcard