|
You can
have the data you want in the session(how big is your data, if it is too big,
not good idea keep big data in session). Also the data is related with user.
have the session time out the way you want. The time out value you need to
put in the web.xml file.
There
are other ways to cache: like singleton cache - have your own cache object,
implement this object as singleton. This will require more work then
session.
Hope
this help.
Junge
|