Two Laptop Bag*
The moose likes Struts and the fly likes caching data in web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "caching data in web application" Watch "caching data in web application" New topic
Author

caching data in web application

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
Hi
I have a web application where in i need to cache data from a database table so improve performance,
what is the best way to do it, i want one common cache like in servlet context, this table as about 10000 records and they are used in some classes for processing logic,
I dont want to cache it in session
Ashish


A$HI$H
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

10000 seems like an awful lot, but application scope is probably what you are looking for.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: caching data in web application