Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 71334 invoked from network); 12 Nov 2008 07:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2008 07:58:50 -0000 Received: (qmail 29645 invoked by uid 500); 12 Nov 2008 07:58:55 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 29631 invoked by uid 500); 12 Nov 2008 07:58:55 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 29620 invoked by uid 99); 12 Nov 2008 07:58:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2008 23:58:55 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of demablogia@gmail.com designates 209.85.132.241 as permitted sender) Received: from [209.85.132.241] (HELO an-out-0708.google.com) (209.85.132.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Nov 2008 07:57:36 +0000 Received: by an-out-0708.google.com with SMTP id b38so122214ana.6 for ; Tue, 11 Nov 2008 23:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MddcJQAdyXaww3tVziNPnY2YhrmUhK3FvJc3dJo/RJ0=; b=Fsi9VpSABJeogeM5Br1O7ADwdo5Nuumo0suXddR8XVTvnNUyIlSevjidTzvuATT4AH n/xFXmLua+O5RCdasVe+PEW3DiLbZK1dW8PSaDcGSTMyBo8R36vTjPiJiD9PPzKc4KS4 EMrvaGdIwu9wCLXKhyF/rCtCXjGIqLOBdiuW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qqvXlzJEw63xOXi2Zts7tR9Bshbwz4oUVVZ1UFgjdHh9s/x3TTWZxtsOlpfHIrJtrb k+VEKUvn3hrbUW5xqyaq4n5HgFPL+PVLS5zBqRVtCik0hcVHWz6BMGT9HoIHqWY3Xfl3 oWhHhqgI9N18qwlsFSlUuaKrReLUSubJjRHfc= Received: by 10.100.111.5 with SMTP id j5mr3794723anc.54.1226476689715; Tue, 11 Nov 2008 23:58:09 -0800 (PST) Received: by 10.100.164.1 with HTTP; Tue, 11 Nov 2008 23:58:09 -0800 (PST) Message-ID: <55efbd800811112358y571b57dcj35464185522898d5@mail.gmail.com> Date: Wed, 12 Nov 2008 08:58:09 +0100 From: Chema To: user-java@ibatis.apache.org, larry.meadors@gmail.com Subject: Re: Caching objects on a application server In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55efbd800811110029vb816cd1k674b312330f7bdb3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Ok, thanks. But I don't need a different object per session because are read-only objects. And I don't know if serialization could affect to performance. By now, I'll use a static hashmap 2008/11/11 Larry Meadors : > If you make your cache serializable it can be shared across sessions. > > On Tue, Nov 11, 2008 at 1:29 AM, Chema wrote: >> I'd like to know who can to read all these cached objects. >> Reading docs, looks like "read only caches" only can seen by one session. >> If I understood what is a session on iBatis, just one thread could see >> cached objects at a time. >