Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cache mechanism

 
Catalin Bren
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to make a cache mechanism wich stores the quotes
from a stock market. This data get's refreshed after a period of time. First ideea was to make a HashMap with application scope wich get's refreshed by different threads. Second ideea is
to make the cache mechanism in database.(but I think this one is
slower) Any other ideeas or examples ? Maybe EJB ? It's got to work in JSP - Servlet architecture.
Thanks for any help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic