Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 49270 invoked from network); 13 Aug 2005 17:03:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Aug 2005 17:03:15 -0000 Received: (qmail 67607 invoked by uid 500); 13 Aug 2005 17:03:03 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 67567 invoked by uid 500); 13 Aug 2005 17:03:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 67554 invoked by uid 99); 13 Aug 2005 17:03:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2005 10:03:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [66.250.40.202] (HELO saturn.opentools.org) (66.250.40.202) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Aug 2005 10:03:23 -0700 Received: by saturn.opentools.org (Postfix, from userid 500) id DB9FD3E5B; Sat, 13 Aug 2005 13:15:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by saturn.opentools.org (Postfix) with ESMTP id D7C19F399 for ; Sat, 13 Aug 2005 13:15:49 -0400 (EDT) Date: Sat, 13 Aug 2005 13:15:49 -0400 (EDT) From: Aaron Mulder X-X-Sender: ammulder@saturn.opentools.org To: dev@geronimo.apache.org Subject: Re: Should we have our own socket listeners? In-Reply-To: <42FE2378.70706@apache.org> Message-ID: References: <42FE2378.70706@apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I like this idea a lot. Not only does it resolve the keystore problem, but I like the thread pool consistency, I would love to be able to multiplex protocols over one socket, and I also think OpenEJB would benefit from this kind of network pluggability (though I am supposed to talk to David B to get a better understanding of the current OpenEJB network layer). Aaron On Sat, 13 Aug 2005, Jeremy Boynes wrote: > Aaron's recent thread on SSL has made we wonder if we should consider > providing our own socket listeners for HTTP(S) and other protocols > rather than using the ones supplied by the containers we are embedding. > > Reasons for doing it include: > * ability to integrate with custom work managers (thread pools) and > SSL infrastructure > * consistency across all embedded containers > * potential for multi-protocol support on one end-point > (i.e. multiplexing everything over one port like WebLogic does which > can make life easier when firewalls are involved) > * potential for integrating with custom QoS frameworks e.g. allowing > custom negotiation with load-balancers in a clustered environment > * potential for hi-av version upgrades where we can version in a > upgraded component and hand off the physical socket resulting in > no loss of availability > > Note that none of those features are HTTP specific. > > The downside of course is that it may weaken integration between the > listener and the container being embedded; for some containers they may > be so closely coupled that doing this will actually make things > difficult. For example, I think doing this would be fairly easy for > Jetty, I don't know how easy it would be for Tomcat, OpenEJB, JMX, > ActiveMQ etc. > > -- > Jeremy >