Re: Re: Re: Re: Re: Re: OSGi in Web Application

Guillaume Sauthier <[email protected]>
Newsgroups gmane.comp.java.objectweb.jonas
Organization Objectweb Consortium
Message-ID <[email protected]>

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] <mailto:[email protected]>> wrote:
>
>     Hello
>
>     Do you have a WAR file that also is an OSGi bundle?
>
>
>     Cheers
>
>     S. Ali Tokmen
>     http://ali.tokmen.com/
>
>     GSM (fr):+33 66 43 00 555  <tel:+33664300555>  [Orange]
>     GSM (tr):+90 555 266 52 73  <tel:+905552665273>  [Avea]
>
>     My AIM, ICQ, MSN Messenger and Yahoo IM
>     contact details are onhttp://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]
>>     <mailto:[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]
>>>         <mailto:[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
>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.