Re: Re: Re: Re: Re: OSGi in Web Application
ajinkya prabhune <[email protected]> Tue, 15 Mar 2011 08:40:20 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
Hi, I mean a HTTP server embeded in equinox. what i am trying to do is... I have a Web App Bundle which is trying to use a Declarative service but when i try to use it I am getting null object. sorry for the late reply... Thanks On Mon, Mar 14, 2011 at 12:02 PM, Guillaume Sauthier < [email protected]> wrote: > 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]> 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 > > -- Thank you and Regards Ajinkya Prabhune