Storing data across multiple sessions

Hi All,

I've a problem. I need to store data which can be accessed by multiple sessions. I don't want to store the data in database.

At the same time my requirement is that the design has to support application servers in clustured environment. Hence I cannot use any singletone class to store the data at the web tier.

Can anyone please suggest me any solution to this problem.

Regards,

Sourav

[441 byte] By [souravm00] at [2007-9-26 20:03:33]
# 1
What type of data is it? Can it be stored in a Cookie?
girisenji at 2007-7-3 17:50:13 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

I am assuming this is for a web container.

ANY web container that supports clustering should also support HttpSession objects be 'shared' by the entire cluster. I would look into this as if your container does support this, it will save you much time in finding a solution that has already been built into the product you are using.

ken_robinson at 2007-7-3 17:50:13 > top of Java-index,Other Topics,Patterns & OO Design...