Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 3948 invoked from network); 8 Sep 2006 20:56:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2006 20:56:05 -0000 Received: (qmail 83779 invoked by uid 500); 8 Sep 2006 20:56:05 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 83764 invoked by uid 500); 8 Sep 2006 20:56:04 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 83755 invoked by uid 99); 8 Sep 2006 20:56:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2006 13:56:04 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of michael.neale@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2006 13:56:02 -0700 Received: by wx-out-0506.google.com with SMTP id t13so774250wxc for ; Fri, 08 Sep 2006 13:55:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=mOBGNqIuPAYSgskYfcoWnuxRp6xqAeF5YqoMX9AgOwKob9Q55sKt+VuFIneqEErjcb0lnVG1SIC110mK94KFSzkTVZnjw9I7rrbqGT8SgyzlggF8stllZ/LX0RiRAnpPHGBWKWlcPVxm6DorEUUJEaFwS1CMDzTgaAHe2v2Dbyk= Received: by 10.90.78.9 with SMTP id a9mr1153257agb; Fri, 08 Sep 2006 13:55:41 -0700 (PDT) Received: by 10.90.51.20 with HTTP; Fri, 8 Sep 2006 13:55:41 -0700 (PDT) Message-ID: <96ab3ced0609081355n4d4dc8abib54c57c97f675579@mail.gmail.com> Date: Fri, 8 Sep 2006 21:55:41 +0100 From: "Michael Neale" To: users@jackrabbit.apache.org Subject: Re: Session & Session In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_95685_2822464.1157748941228" References: <96ab3ced0609080953j552e031bp553bcd907f77ea75@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_95685_2822464.1157748941228 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Nico. Is isn't really serialization per se, its more that to stuff it in a http session it is expected to be serializable. In my case, I would simply like to keep the Session around for a little while in a servlet container. On 9/8/06, Nicolas wrote: > > Hi, > > Why is Session not serializable? Is there a specific reason we didn't > implement Serializable? > > It depends: what is the expected behavior of the user (read, write, > read/write,...)? > > BR > Nico > my blog! http://www.deviant-abstraction.net !! > > On 9/8/06, Michael Neale wrote: > > > > Hi All. > > > > This may (hopefully) have an obvious answer, but I was planning on > putting > > a > > JCR Session in a server side (HTTP)session - for the duration of the > users > > interaction with the app. > > > > a) is this a good/bad idea? (I don't have to worry about a massive > number > > of > > concurrent users) > > b) Session is not serializable - so this may cause some issues with some > > containers (I believe I can work around that anyway). > > > > Thoughts? > > > > Michael. > > > > > > ------=_Part_95685_2822464.1157748941228--