Re: OSGi in Web Application
Guillaume Sauthier <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | Objectweb Consortium |
| Message-ID | <[email protected]> |
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 >
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