Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

caching data in web application

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
10000 seems like an awful lot, but application scope is probably what you are looking for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic