You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2004/04/26 16:54:54 UTC

what strategy for javabeans in session/request scope ?

Hello,

I've worked on some applications using Struts and I haven't fond a definitive response to this :

When a webapp uses some javabeans on many pages (as an example, a List of beans and some sorting/paging actions), it is
better to :

- put the list in session scope (but then, how to remove it ?)
- call the model on every request (model should then use caching)
- any other ?

Thanks for help.

Nico.


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