Hi
In my application I am using struts with WebSphere application server.
To cache the data for users across requests, we don't want to use servlet/jsp session object; as the data that we want to cache for users, is very large. hence servlet session is a bad choice.
We are not using ejb (so obvoiusly cannot use session bean).
Can anybody please help me regarding this. Sample code is most welcome.
Thanks,
Pravin
-
caching without using Servlet session object OR EJB in WebSphere (1 messages)
- Posted by: Pravin Shingade
- Posted on: December 22 2004 04:19 EST
Threaded Messages (1)
- caching without using Servlet session object OR EJB in WebSphere by Rob Misek on December 22 2004 11:13 EST
-
caching without using Servlet session object OR EJB in WebSphere[ Go to top ]
- Posted by: Rob Misek
- Posted on: December 22 2004 11:13 EST
- in response to Pravin Shingade
Hi Pravin,To cache the data for users across requests, we don't want to use servlet/jsp session object; as the data that we want to cache for users, is very large. hence servlet session is a bad choice.
If you are running in a clustered environment, you can easily store extremely large sets of data in Coherence's Partitioned Cache, which actually equally partitions the entire cached dataset across all nodes in the cluster.
You may not want to discount the use of the HTTP session for storing this user specific data. When using Coherence*Web (which does not limit the size of the HTTP session object) you can use a number of different models for storing the session data. You may be specifically interested in the SplitHttpSessionModel.
Later,
Rob Misek
Tangosol, Inc.
Coherence: It just works.