You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2007/10/04 14:09:56 UTC

[Myfaces Wiki] Update of "FAQ" by SimonKitching

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/FAQ

The comment on the change is:
Add further info about client-side vs server-side state.

------------------------------------------------------------------------------
  request an Observer role with the https://javaserverfaces-spec-public.dev.java.net project
  
  === What is the difference between javax.faces.STATE_SAVING_METHOD client and server? ===
- See:
+ In short, server-side-state stores information held by the UI components (ie the "widgets") in the HTTP Session, while client-side state stores it in 
+ hidden fields in the page sent back to the user.
+ 
+ Client-side-state scales much better for very large numbers of users, as no memory is required on the server for user state. However the
+ disadvantage is that more data gets transferred across the network for each request.
+ 
+ Any session-scoped managed beans still remain in the http session, even with client-side-state selected; this flag only affects where the
+ JSF implementation stores data that the UI components hold internally.
+ 
+ For the technical details, see:
   * [http://java.sun.com/javaee/5/docs/tutorial/doc/bnavu.html#bnavz]
   * [http://java.sun.com/javaee/5/docs/tutorial/doc/bnaxj.html#bnaxn]