Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 96076 invoked from network); 14 Jul 2006 08:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2006 08:27:09 -0000 Received: (qmail 94340 invoked by uid 500); 14 Jul 2006 08:27:05 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94296 invoked by uid 500); 14 Jul 2006 08:27:05 -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 94285 invoked by uid 99); 14 Jul 2006 08:27:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2006 01:27:05 -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 [209.235.255.182] (HELO jetty3.inetu.net) (209.235.255.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2006 01:27:03 -0700 Received: (qmail 98822 invoked from network); 14 Jul 2006 08:26:41 -0000 Received: from host86-138-58-253.range86-138.btcentralplus.com (HELO ?192.168.0.4?) (jules@86.138.58.253) by jetty3.inetu.net with AES256-SHA encrypted SMTP; 14 Jul 2006 08:26:41 -0000 Message-ID: <44B7552B.8070408@coredevelopers.net> Date: Fri, 14 Jul 2006 09:26:19 +0100 From: Jules Gosnell User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org CC: dev@wadi.codehaus.org Subject: Re: [wadi-dev] Session/clustering API and the web tier References: <44B42ED1.2070506@mortbay.com> <44B4C6EC.7080201@coredevelopers.net> <44B6229A.6030703__7712.83745202727$1152787142$gmane$org@coredevelopers.net> <44B699DE.4000602__38160.6488758281$1152817672$gmane$org@coredevelopers.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Greg Wilkins wrote: > Jules Gosnell wrote: > >>I pressed 'send' without counting to 10 first on the last response. Sorry. > > > No probs - no offence taken. > > > >>I've obviously done a bad job of explaining myself so far. Is this >>clearer ? > > > Actually no - I preferred the slightly pissed off version for clarity :-) > > > I actually think we are in agreement.. but don�t realize it. > > You say that the getExcecutionLocation() style API I suggest leaks > clustering concerns into the webtier, but I am not suggesting that general > container code calls this API. > > I am suggesting a that a cluster aware interceptor calls it. > This is the GSM intercpetion contract of your last email. > > But given that interceptors are going to be very tier implementation > specific and that Jetty has to write geronimo specific interceptors for > security, transactions, .... then it appears natural to me that the > G-jetty module is the natural place for that interceptor to live and > we don't need to standardize it's contract. > > > Or is it the existence of the standardized API between interceptor > and Policy that you object to? Are your concerns such that > you do not think this API can be implemented efficiently? > > > Give me 30minutes and I will post my latest mental picture of > how I would like to see the Cluster/Session API. > > cheers > > > > I see the GSM interceptor as a 'peninsula' of the GSM impl, because it deals with clustering concerns. The point at which it meets Jetty is at the generic interceptor API... - I guess this is one of the bones of contention. Seen this way, the same interceptor code can be shared across all containers (via different interceptor adaptors), rather than duplicated by each container.... and less of the GSM's API needs to be exposed to the container... Jules -- "Open Source is a self-assembling organism. You dangle a piece of string into a super-saturated solution and a whole operating-system crystallises out around it." /********************************** * Jules Gosnell * Partner * Core Developers Network (Europe) * * www.coredevelopers.net * * Open Source Training & Support. **********************************/