struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: about iterating values
Date Tue, 15 Jul 2008 21:15:00 GMT
hns wrote:
> HI
> Thanks for reply
> 
> but session is appropriate for large size map stored in it?
> it can works fine?

It certainly *can* work. Whether the session is the best place to keep 
this data depends on the size of the list, how much it varies (if at 
all) between users, how often it changes, etc. You might be better off 
looking into a caching solution at the persistence layer level (e.g. 
Hibernate or whatever you use), or, perhaps, building a custom 
application cache at the application level (using something like ehcache).

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message