tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Augustinus <>
Subject Re: shared object cache
Date Sat, 22 Nov 2003 11:50:47 GMT

I have written a PersistenceManager class that handles all database
access and uses the SQLData interface to map java objects to
User Defined Types in the oracle database. Every request now
has to create a new instance of the persistencemanager so there is
no sharing whatsoever. I would like the persistencemanager to look
in the object cache first and if the object is not there retrieve it
from the database. I need a way to keep this cache in memory
so all requests can use the same cache.

i hope this makes things clear..

Ben Souther wrote:

>Shared between requests?
>Shared between user sessions?
>Shared between applications (contexts)?
>Shared between machines?
>Can you give us a better description of what you are trying to do?
>On Friday 21 November 2003 06:15 pm, you wrote:
>>Hi there,
>>I would like to implement my own shared object cache in
>>my webapp. Does anybody have some ideas on how to
>>do this?
>>Rob Augustinus
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message