I am looking for best practices in implementing caching
I want to cache
1. Session data specific for each user
2. Cache data that can be shared among users.
Could some one please advise best practices and design stategy to use caching in Stuts Framework.
Thanks Much in Advance
Dimple
Discussions
Web tier: servlets, JSP, Web frameworks: Caching session data and global data in Struts.
-
Caching session data and global data in Struts. (1 messages)
- Posted by: Dimple Malhotra
- Posted on: December 21 2004 16:19 EST
Threaded Messages (1)
- Caching session data and global data in Struts. by Rob Misek on December 22 2004 11:04 EST
-
Caching session data and global data in Struts.[ Go to top ]
- Posted by: Rob Misek
- Posted on: December 22 2004 11:04 EST
- in response to Dimple Malhotra
Hi Dimple,I am looking for best practices in implementing caching I want to cache
1. Session data specific for each user
The best place to store per user information is the HTTP session.2. Cache data that can be shared among users.
You can easily use a map to store this information across users.
If you are running in a cluster you can easily add fault-tolerance of your HTTP session data by using our Coherence*Web HTTP session management module for #1. Similarly you can use Coherence to provide a number of clustered caching functionality for item #2.
Later,
Rob Misek
Tangosol, Inc.
Coherence: It just works.