Skip to main content



      Home
Home » Eclipse Projects » Equinox » Newbie: OSGi questions
Newbie: OSGi questions [message #86322] Thu, 05 April 2007 14:28 Go to next message
Eclipse UserFriend
Hi all,

I am new to OSGi so bare with me J

I have a couple of Questions:

1.. What are the prerequisites for running OSGi bundles?
Does it require the JVM to bootstrap the bundles directly? Or is it
possible to load the OSGi within an existing JVM (in my own main()
function)?
2.. I am developing a web application and running it on a Tomcat 5.5
server
I found the following link:
http://www.eclipse.org/equinox/server/http_in_container.php and couldn't
figure out whether its possible or not to load OSGi bundles under an already
existing web application?
Thanks in advance,

Asaf
Re: Newbie: OSGi questions [message #86429 is a reply to message #86322] Mon, 09 April 2007 22:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Asaf,

> 1.. What are the prerequisites for running OSGi bundles?
> Does it require the JVM to bootstrap the bundles directly? Or is it
> possible to load the OSGi within an existing JVM (in my own main()
> function)?
The requirement for running OSGi bundles is just an OSGi framework like
Equinox. You can launch Equinox from your own program and no special
bootstrapping is required.

> 2.. I am developing a web application and running it on a Tomcat 5.5
> server
> I found the following link:
> http://www.eclipse.org/equinox/server/http_in_container.php and couldn't
> figure out whether its possible or not to load OSGi bundles under an
> already existing web application?
Definitely. That's what the servletbridge does. e.g. launches an instance of
Equinox and uses it to host various servlet and other bundles.

HTH
-Simon
Re: Newbie: OSGi questions [message #86487 is a reply to message #86429] Tue, 10 April 2007 06:39 Go to previous messageGo to next message
Eclipse UserFriend
Is there any sample anywhere showing how to launch Equinox OSGi framework in
an embedded mode?
I would like to manage it from a servlet server (TOMCAT 5.5) yet without
using the Bridge.

"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:evetvu$2cf$1@build.eclipse.org...
> Hi Asaf,
>
>> 1.. What are the prerequisites for running OSGi bundles?
>> Does it require the JVM to bootstrap the bundles directly? Or is it
>> possible to load the OSGi within an existing JVM (in my own main()
>> function)?
> The requirement for running OSGi bundles is just an OSGi framework like
> Equinox. You can launch Equinox from your own program and no special
> bootstrapping is required.
>
>> 2.. I am developing a web application and running it on a Tomcat 5.5
>> server
>> I found the following link:
>> http://www.eclipse.org/equinox/server/http_in_container.php and couldn't
>> figure out whether its possible or not to load OSGi bundles under an
>> already existing web application?
> Definitely. That's what the servletbridge does. e.g. launches an instance
> of Equinox and uses it to host various servlet and other bundles.
>
> HTH
> -Simon
>
Re: Newbie: OSGi questions [message #86497 is a reply to message #86487] Tue, 10 April 2007 08:43 Go to previous message
Eclipse UserFriend
The best place to start would be to take at the servletbridge's
FrameworkLauncher (e.g.
org.eclipse.equinox.servletbridge.FrameworkLauncher)and in particular how it
interacts with EclipseStarter

"Asaf Lahav" <asaf.lahav@primagrid.com> wrote in message
news:evfpiv$gf9$1@build.eclipse.org...
> Is there any sample anywhere showing how to launch Equinox OSGi framework
> in an embedded mode?
> I would like to manage it from a servlet server (TOMCAT 5.5) yet without
> using the Bridge.
>
> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
> news:evetvu$2cf$1@build.eclipse.org...
>> Hi Asaf,
>>
>>> 1.. What are the prerequisites for running OSGi bundles?
>>> Does it require the JVM to bootstrap the bundles directly? Or is it
>>> possible to load the OSGi within an existing JVM (in my own main()
>>> function)?
>> The requirement for running OSGi bundles is just an OSGi framework like
>> Equinox. You can launch Equinox from your own program and no special
>> bootstrapping is required.
>>
>>> 2.. I am developing a web application and running it on a Tomcat 5.5
>>> server
>>> I found the following link:
>>> http://www.eclipse.org/equinox/server/http_in_container.php and couldn't
>>> figure out whether its possible or not to load OSGi bundles under an
>>> already existing web application?
>> Definitely. That's what the servletbridge does. e.g. launches an instance
>> of Equinox and uses it to host various servlet and other bundles.
>>
>> HTH
>> -Simon
>>
>
>
Previous Topic:Server with OSGi/equinox
Next Topic:Buddy Policy Question
Goto Forum:
  


Current Time: Sun Oct 26 12:20:09 EDT 2025

Powered by FUDForum. Page generated in 0.05069 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top