Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between javax.faces.STATE_SAVING_METHOD client and server?

client server
0
10 Posted

What is the difference between javax.faces.STATE_SAVING_METHOD client and server?

1

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123