Re: Re: Re: Re: Re: Re: Re: OSGi in Web Application
ajinkya prabhune <[email protected]>
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <[email protected]> |
Hi, Yes the Web Application is also a OSGi web based bundle. Yes the Bundle1 and Bundle2 are services which I would like to use in my Servlet. I am getting confused how do I discover those services ? Do I use bundlecontext and discover or is there any other way... Thanks On Fri, Jan 28, 2011 at 10:24 AM, Guillaume Sauthier < [email protected]> wrote: > > > Le 27/01/2011 21:34, ajinkya prabhune a écrit : > > Hi, > > Sorry for the later reply was not well... > > Hi my query was I have a web application say MyWebApplication. > > > Is it also a bundle ? > ie : Do it have an OSGified META-INF/MANIFEST.MF with OSGi metadata in it ? > > > > > It has dependency on 2 osgi bundles say MyBundle1 and MyBundle2.... > > > It uses classes from theses bundles ? > > > > How can I access those Bundles in my Servlet or in my WebApplication... > > > Consider that your application have a parent ClassLoader that have a > DynamicImport-Package *, so all packages exported by bundles will be > available to your application classes... > > > > I hope u get my query ? > > > Are you using OSGi services or just the module layer ? > > --G > > > > Thank you > > On Mon, Jan 24, 2011 at 5:57 PM, S. Ali Tokmen <[email protected]>wrote: > >> Hello >> >> Do you have a WAR file that also is an OSGi bundle? >> >> >> Cheers >> >> S. Ali Tokmenhttp://ali.tokmen.com/ >> >> GSM (fr): +33 66 43 00 555 <tel:+33664300555> <tel:+33664300555> [Orange] >> GSM (tr): +90 555 266 52 73 <tel:+905552665273> <tel:+905552665273> [Avea] >> >> My AIM, ICQ, MSN Messenger and Yahoo IM >> contact details are on http://contact.ali.tokmen.com >> >> >> On 24.01.2011 17:30, ajinkya prabhune wrote: >> >> Hi >> >> i created a web application which access a osgi bundle in JOnAS (both >> deployed in JOnAS) >> but I am getting a missing constarint in import-package line of Web >> Application... >> I have properly imported all packages.... >> What might be gng wrong ? >> thanks >> >> On Mon, Jan 24, 2011 at 9:14 AM, Guillaume Sauthier < >> [email protected]> wrote: >> >>> What do you call a web-based OSGi bundle ? >>> For me, this is a normal bundle that is using the HttpService, no more no >>> less. >>> --G >>> >>> Le 22/01/2011 22:10, ajinkya prabhune a écrit : >>> >>> Hello, >>> >>> Got some information about the Web application with OSGi, >>> >>> I wanted to ask whether a web based OSGi bundle is similar to the web >>> service that we make and use in OSGi ? >>> Also JOnAS uses Felix so how to do I make this Web Based OSGi bundle ??? >>> (What does Felix offers me) >>> >>> Thanks and Regards >>> >>> 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 > > -- Thank you and Regards Ajinkya Prabhune