Chapter 7. Extending HTTP Sessions with Terracotta

HTTP sessions are traditionally used for web applications where the state is stored on the server side. While this approach is convenient on a single server, as soon as your application grows and multiple servers are needed to fulfill the load, sessions can become both a performance bottleneck and a development burden.

In this chapter, we will explore how Terracotta makes working with HTTP sessions as convenient in a cluster as on a single machine. You'll see how each shortcoming is addressed and how extremely easily you can integrate Terracotta with standard Java web applications.

What Are HTTP Sessions?

Web sites have long since outgrown their initial static nature and are now highly interactive ...

Get The Definitive Guide to Terracotta: Cluster the JVM™ for Spring, Hibernate, and POJO Scalability now with O’Reilly online learning.

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