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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
