Try storing the information in the session object. You may want to store
all of your objects into one array, store that in the session, then retreive
it and assign it to a local variable whenever you need to use it,
remembering to store it again with any modifications.
-----Original Message-----
From: Thethi, Manmeet S [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 04, 1999 8:34 AM
To: [EMAIL PROTECTED]
Subject: Caching for Database objects
Does anyone know how can we introduce caching for database objects.
We are getting the data from database tables which is then converted to Java
objects.
We want to build some kind of caching mechanism so that we don't have to go
to database whenever a request for data (Java objects) comes in.
Any suggestions will be appreciated.
Thanks
Manmeet
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html