Return-Path: Delivered-To: apmail-incubator-abdera-user-archive@locus.apache.org Received: (qmail 25669 invoked from network); 1 Aug 2008 16:28:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2008 16:28:56 -0000 Received: (qmail 37088 invoked by uid 500); 1 Aug 2008 16:28:56 -0000 Delivered-To: apmail-incubator-abdera-user-archive@incubator.apache.org Received: (qmail 37075 invoked by uid 500); 1 Aug 2008 16:28:55 -0000 Mailing-List: contact abdera-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-user@incubator.apache.org Delivered-To: mailing list abdera-user@incubator.apache.org Received: (qmail 37064 invoked by uid 99); 1 Aug 2008 16:28:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 09:28:55 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chrise@esha.com designates 207.7.107.246 as permitted sender) Received: from [207.7.107.246] (HELO georgia.textdrive.com) (207.7.107.246) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 16:28:00 +0000 Received: from [10.0.1.2] (209-162-215-176.dq1sn.easystreet.com [209.162.215.176]) by georgia.textdrive.com (Postfix) with ESMTP id 2D48A346A0 for ; Fri, 1 Aug 2008 16:27:56 +0000 (GMT) Message-Id: From: Christopher Elkins To: abdera-user@incubator.apache.org In-Reply-To: <23fce8e60808010244j5ff1d83emb160ae805f8ec36d@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: request lifecycle for setting up and tearing down Date: Fri, 1 Aug 2008 09:27:54 -0700 References: <23fce8e60808010244j5ff1d83emb160ae805f8ec36d@mail.gmail.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 1, 2008, at 2:44 AM, James Abley wrote: > Does anyone have any suggestions as to what I'm missing? 5. Use a custom, JCR-backed WorkspaceManager implementation. What I do is obtain and release a JCR session within my getWorkspaces() implementation. This does mean that the same session is not used for subsequent JCR access within the same request, but that shouldn't be a problem as long as your implementation has no side-effects (i.e., just a read-only look at the repository). -- Christopher Elkins