Hello All
Trying to understand
JSF statemangement especially with view
state ,component tree
state,component tree datastrucutre.
After going through some articles with in JSF forum of code ranch,i have this understanding
viewstate---> object that has only values entered by users for an element with in view.For example for username--john,password--abcd, viewstate stores jhon and abcd (Is this correct?)
component tree state---> component tree state and view state ,these words are same and refer to the values entered by user in a view
component tree data strucutre---> this is run time representation of view that is objects are created for each control with UIViewroot as object.
also viewstate and component tree data strucutre are stored with in JSF(by default in session?).
And also while going thru life cycle,in restrore phase,for a post back request,is it true that entire component tree is rebuilt or is it restored from session?
Also if there are 1000 customers.
And say if there is a view/screen username and password . Is it true that JSF creates 1000
component tree data structure objects.
Is it not possible to use
one component tree data structure object for all 1000 customers