Re: Re: OSGi in Web Application
ajinkya prabhune <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
Hi, Could u please provide some links ? Thanks On Fri, Jan 21, 2011 at 9:55 AM, Guillaume Sauthier < [email protected]> wrote: > You have 2 choices: > 1. You create a classic bundle, and you make use of HttpService to register > your Servlets > -> That makes no uses of any web.xml, this not a .war file > -> Some googling will probably gives you tons of tutorials > 2. Create a standard WebApp (stnadard war structure, a web.xml, ...) and > have a field of your Servlet annotated with @OSGiResource. You will be > injected with the BundleContext of the web container bundle, and you wan use > it to access services and son on. > > --G > > Le 21/01/2011 09:38, ajinkya prabhune a écrit : > > 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