5.8 STATE MANAGEMENT
It is well known that the HTTP protocol to communicate with servers is actually a stateless protocol. This is good enough for point interactions, but what about an entire transaction? For example visualize the shopping cart scenario or airline reservation scenario. To complete one transaction, the user internally may have to connect and communicate with a server (or different servers) over a period of time. The question is how to achieve this over a stateless mechanism where each time is a different connection.
The problem is about how the server manages to connect pieces of information from each request that makes the transaction. This in turn translates into the problem of how the server (Servlet) identifies the multiple ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access