You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Je...@bcbstx.com on 2004/11/29 22:37:34 UTC

Re: data caching in web application




These techniques:

http://www.javaworld.com/javaworld/jw-10-2004/jw-1018-filter.html
http://www.javaworld.com/javaworld/jw-11-2004/jw-1122-select.html

Used against a collection loaded at application init()

Might be what you are looking for.

JC



                                                                                                                  
                      "Ashish Kulkarni"                                                                           
                      <kulkarni_ash1312        To:       user@struts.apache.org                                   
                      @yahoo.com>              cc:                                                                
                                               Subject:  data caching in web application                          
                      11/29/2004 02:53                                                                            
                      PM                                                                                          
                      Please respond to                                                                           
                      "Struts Users                                                                               
                      Mailing List"                                                                               
                                                                                                                  




Hi
I have a table in DB2 on AS400 which has about 10000
records, i want to cache this data to improve my web
application performance,
I dont want to cache it in session,
I was thinking of loading the data in array or some
class and load it in servlet context,
what is the best way to do it?
is there some better way so i can querry this cached
data using keys as if using primary key in SQL
statment
Ashish









------------------------------------------------------------------------------
**********
The information contained in this communication is confidential, private, proprietary, or otherwise privileged and is intended only for the use of the addressee.  Unauthorized use, disclosure, distribution or copying is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify the sender immediately at (312)653-6000 in Illinois; (972)766-6900 in Texas; or (800)835-8699 in New Mexico.
**********
==============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org