Chapter 11. Managing Application State

This chapter covers

  • Building an enhanced Comet service
  • Working with the GWT history system
  • Using standard servlet state

Everything is in a state of flux, including the status quo.

Robert Byrne

In this chapter we’re going to examine an example application we call “State of the Union.” This application demonstrates state management in a long-lived fashion, using log files to capture state on the server with the standard Java Servlet API. This will be done in the context of a GWT application, and within the GWT history system we introduced in chapter 1.

We’ll cover using the History class to update the client state as the model changes, as well as deal with state on the server, representing state in ...

Get GWT in Practice 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.