File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "caching" Watch "caching" New topic


Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi all,
We try to cache some data so that the response time for the end user is high. My question is say user 1 access the application and the value for him is 10, the aplication caches this data. Another user access the application and the value for the 2nd user is 20. Now if we cache data for each user (of course upto some limit) aren't we just increasing the cache memory without using it ? should we go for caching in this scenario ? In which scenarios we can go for caching the data (iam looking for answers other than "when we frequently access the data")
I agree. Here's the link:
subject: caching
jQuery in Action, 3rd edition