wood burning stoves 2.0*
The moose likes Java in General and the fly likes Regarding java caching framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding java caching framework" Watch "Regarding java caching framework" New topic
Author

Regarding java caching framework

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I am developing a web application .To reduce database load ,i want to cache data which to common to all users .I search a lot for caching framework and find quite a lot(OSCache,EHCache,JCS,Open Terracotta) but now i am confused which to use.Can anyone please tell me which to use
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
That depends on your requirements, about which we know nothing.


Ping & DNS - my free Android networking tools app
amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
Ulf Dittmer wrote:That depends on your requirements, about which we know nothing.

Sorry for stupid and incomplete post .
My requirement is like
I have one table(col1,col2,col3) .There are many columns but my where clause doesn't need it . There are about 3 frequent query
against this table .One query is select on col1(primary key) .Second query is order on col2(int type) . third query is order on col3
.col1,col2 are constant whereas there are frequent updation on col2 .
I want a snapshot of database .Instead of taking data from database ,i can take it from cache .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41621
    
  55
That sounds like a basic enough thing to do that any of those packages should support it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding java caching framework