Chapter 9. JSF State Management

Commonly, the JSF applications' performance is directly related to CPU memory, serialization/deserialization tasks, and network bandwidth. When these variables start to become the source of headache, or errors of type ViewExpiredException or NotSerializableException occur, it is time to find out about JSF's managing view state feature and how it can be finely tuned to increase the performance. Therefore, in this chapter, we will discuss about JSF saving the view state (JSF's partial saving view state feature, JSF saving the view state on server/client, logical and physical views, and so on) and JSF 2.2 stateless views.

JSF saving the view state

First, you have to know that JSF saves and restores the view state between ...

Get Mastering JavaServer Faces 2.2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.