[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] jetty 6 osgi support
- From: Simon Kaegi <Simon_Kaegi@xxxxxxxxxx>
- Date: Mon, 23 Jul 2007 16:22:24 -0400
- Delivered-to: firstname.lastname@example.org
I think SocketFactory is one of the best candidates in the VM as an OSGi
I would like to avoid doing anything global but perhaps per Http Service
instance we could allow using a discovered SocketFactory and then adding a
custom Connector to the Server(?)
What are your main use cases for this?
Setting up an SSLSocket or ?
p.s. I thought KF did a homegrown implementation. Is there new work going
equinox-dev-bounces@xxxxxxxxxxx wrote on 07/23/2007 02:36:54 PM:
> One of the things I really like about the Knopflerfish
> implementation of this service (which also uses Jetty) is that they
> use the whiteboard pattern to retrieve a published SocketFactory
> service from the registry. This allows me to set up the
> SocketFactory without complicated System properties, or even in the
> Config Admin (they still use the config admin, but it doesn?t set up
> the server socket).
> Speaking as a user of this service, this really is something that
> makes a huge difference in usability.
> On 7/23/07 11:22 AM, "Gustavo Morozowski" <morovaster@xxxxxxxxx> wrote:
> Hi Simon,
> I got the supplied code working with the jetty 6.1.5 jars. Comparing
> it with the jetty 5 integration, I have some questions before
> submitting my patches:
> - I see that in the current jetty 5 integration you do not directly
> create instances of HttpServiceServlet, but uses a internal delegate
> that takes care of saving and restoring the current classloader for
> each servlet invocation. Why is this needed?
> - Also the current jetty 5 integration implements a
> ManagedServiceFactory from the Config Admin service, should I also
> implement it? How this service is used in equinox/eclipse?
> - there are mixed version numbers from the bundles that import
> javax.servlet: org.eclipse.equinox.http.servlet declares version [2.
> 3.0], the current jetty 5 integration declares imports for version
> [2.4.0] and the new jetty 6 jars depends on version [2.5.0] and
> supply another javax.servlet version. How is the best way to deal with
> Simon Kaegi wrote:
> > Hi Gustavo,
> >> Starting from release 6.1.5 Jetty jars will ship with OSGI manifests.
> > That's great news.
> >> I'm willing to integrate that with org.eclipse.equinox.http.jetty, but
> > That would be appreciated. Please open an enhancement request and
> > your patches
> > for a starting point you might want to look at an integration with
> > from a while back here -
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=132555 <https:
> equinox-dev mailing list
> equinox-dev mailing list