ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chema <demablo...@gmail.com>
Subject Re: Caching objects on a application server
Date Wed, 12 Nov 2008 07:58:09 GMT
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 <larry.meadors@gmail.com>:
> If you make your cache serializable it can be shared across sessions.
>
> On Tue, Nov 11, 2008 at 1:29 AM, Chema <demablogia@gmail.com> 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.
>

Mime
View raw message