How JSF identifies the ViewState by id and assigns into view Map

886 views Asked by At

As per my understanding, JSF creates Logical View per new Page and Physical View for different state of the same page on each post back. JSF creates new ViewState id for each post back on the same page. In our application, we are using JSF 1.2 Sun RI and We have set No of Views in Session = 3. If the ViewState id is new for every post request, How JSF will determine the view to restore and replaces the LRU View with the new ViewState ?

For e.g. for 3 post requests it creates 3 Views and put it into 1 Logical Map, will the 4th post request will replace the 1st view in the Map ? The reason because during the peak load, the data getting lost from the page when we send multiple post back request using IBM JWL Ajax calls. Can anyone faced the similar issue and resolved it ?

0

There are 0 answers