Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Which HttpService

Hi Chris,

On Mon, Mar 7, 2011 at 6:19 PM, Christopher Frost <frostc@xxxxxxxxxx> wrote:
> Hi Hugues,
>
> So, in order to use the Jetty HttpService you have to deploy and start up
> the whole of jetty in OSGi including the WAB container and then deploy the
> jetty-httpservice which will provide a HttpService implementation on top WAB
> container. If I'm right, does that mean there is no way to provide just the
> HttpService without the rest of the Jetty OSGi support.
The servlet "org.eclipse.equinox.http.servlet.HttpServiceServlet"
provides the HttpService.
I am not sure which subset of jetty you are looking for:
The bundle org.eclipse.jetty.osgi.httpservice (aka jetty-httpservice)
is simply meant to be deployed on jetty-osgi.
If there is an interest for it we could re-package it as a standard
Web-Bundle: no dependency on jetty. There really was no point making
it non-standard.

Equinox itself provides a way to start jetty-6 on which the
HttpServiceServlet is deployed. The way the server is configured is
through system properties.
I am not the expert but if this is what you are looking for I can look for it.

You could come up with your own bundle to bootstrap jetty and then
configure it to deploy the HttpServiceServlet.
This bundle would depend on less jars than the whole jetty-osgi.
Probably jetty-util, jetty-io, jetty-http, jetty-server,
jetty-servlet. And maybe for extras, jetty-websocket and
jetty-continuation.

Does this answer your question?
Hugues

>
> Chris.
>
> On 07/03/2011 00:24, Hugues Malphettes wrote:
>
> Hi Chris,
> jetty-httpservice
> (http://repo2.maven.org/maven2/org/eclipse/jetty/osgi/jetty-httpservice/)
> is a non standard web-bundle. When jetty-osgi is started and that
> jetty-httpservice is started an implementation of the OSGi HttpService
> is provided.
> If this what you are looking for?
> Hugues
>
> On Fri, Mar 4, 2011 at 6:32 PM, Christopher Frost <frostc@xxxxxxxxxx> wrote:
>
> Hi,
>
> I'm trying to get the Jetty HttpService running on the Virgo Kernel and was
> wondering which jars I should be using. I found some that come packaged with
> Equinox (org.eclipse.equinox.http.jetty, .servlet, org.mortbay.jetty.server
> and .util). I also found a jetty-httpservice jar on maven central. Which
> would you recommend and how should I be starting it as lot of them are lazy
> start bundles?
>
> Chris.
>
> --
> Chris Frost
> SpringSource, a division of VMware
>
> Virgo Website, Wiki and Forum
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
> --
> Chris Frost
> SpringSource, a division of VMware
>
> Virgo Website, Wiki and Forum
>
> _______________________________________________
> jetty-dev mailing list
> jetty-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-dev
>
>


Back to the top