This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Performance 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Caching" Watch "Caching" New topic


Malhar Me

Joined: Jun 22, 2009
Posts: 27

I read few docs on internate regarding implemetation of caching in java. I am just exited about this and I want more information regarding this. I just create this post to discuss more about it. Please share your knowledge about this.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952

Customer surveys are for companies who didn't pay proper attention to begin with.
Istvan Kovacs
Ranch Hand

Joined: May 06, 2010
Posts: 100
You probably need to use soft references - check out the following articles on weak and soft references:

Java does not come with a SoftHashMap, but you can get one here:

Paulo Carvalho
Ranch Hand

Joined: Nov 12, 2008
Posts: 57
Apache JCS (Java Caching System).

I tried it last week. Simple and efficient.
I agree. Here's the link:
subject: Caching
Similar Threads
JDO Caching?
Blocks synchronized, but without wait() or notifyAll() methods.
Thread.currentthread method on multi cpu
Reading in db file
why we need Caching