• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Regarding java caching framework

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That depends on your requirements, about which we know nothing.
 
amit sharma
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That sounds like a basic enough thing to do that any of those packages should support it.
reply
    Bookmark Topic Watch Topic
  • New Topic