Chapter 9. Managing State in a Web Application

State is an important concept to be aware of in all types of programming. After all, conventional programming relies on being able to accurately persist what a program has done. Web programming is no different, and there are many important things to be aware of when managing state in a Web Application. In some cases you can get by perfectly fine assuming the state of a Web Application is kept consistent enough to perform adequately. However, a good Web Application programmer needs to understand why state management is an issue and how to always ensure it is done properly. It is the goal of this chapter to clearly define and illustrate how to appropriately manage state in a Web Application.

This chapter ...

Get Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.