|Re: Jetty hosted in Equinox: can Jetty code access Equionox hosted bundles? [message #765112 is a reply to message #760444]
||Tue, 13 December 2011 12:47
| Ivan Larionov
Registered: July 2009
There are several ways to run web apps in Jetty and OSGi.
You can deploy you web app as a bundle which presents itself as a web
Jetty comes as a set of bundles running in OSGi, moreover, Server
instances are registered in the service registry. So, the following way
is suitable if you would like to use Jetty-specific web app
You might also like using OSGi's HttpService.
I hope it will help.
On 02.12.2011 13:47, Seref Arikan wrote:
> Greetings, If I host jetty in Equinox, I'll probably be able to deploy
> my existing web app into it. The question is, can code of this app
> access bundles hosted in Equinox, next to jetty?
> [ [Jetty hosted code] --> [Bundle A hosted in Equinox] ]----both jetty
> and bundles hosted in Equinox
> I have to confess that this makes me confused a little bit. How do I
> consume bundle code from a non osgi code (running in Jetty)?.
> I may be missing the point of running Jetty in Equinox unless this is
> possible. What would I gain if I can run a web application in Equinox,
> but not be able to use bundle code from that web application? I can't
> see any document that explains the benefits of this.
Powered by FUDForum
. Page generated in 0.01885 seconds