There is another possible benefit to using request scoped beans.  With
JSF its possible to store the component state on the client
(especially if bandwith is not an issue.)

We are toying with the idea of storing *nothing* in the session other
than the user id.  This way if the session expires it would be
possible to allow the user to continue where they left off (after
logging back in again.)

This introduces a few new problems of course but it is an intriguing
possibility.  Our application is used by people all day long and they
move in and out of it as they do their work.  It sucks that they lose
their work if they forget to save and then go to lunch, etc.  If we
eliminate our dependency on the session we might be able to solve this
problem.

Anyways not specifically related to your question but its another
benefit of the request scope (with JSF client saving) that I thought I
would mention.

sean

Reply via email to