Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching in clustered environment

 
Li Xin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Can someone tell how to cache some global data (writable) in a clustered environment? According to the spec, we cannot cache the data in ServletContext in a clustered environment. And also we cannot cache in a static variable since it is difficult to synchronize.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic