Re: Re: Re: OSGi in Web Application

ajinkya prabhune <[email protected]> Mon, 14 Mar 2011 11:56:02 +0100
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
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]> 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]> 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