wood burning stoves*
The moose likes Servlets and the fly likes cache mechanism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cache mechanism" Watch "cache mechanism" New topic
Author

cache mechanism

Catalin Bren
Greenhorn

Joined: Oct 10, 2000
Posts: 12
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.
 
Don't get me started about those stupid light bulbs.
 
subject: cache mechanism