The Infinispan WebSocket server

The Infinispan Server exposes access to the grid via a WebSocket interface, which means that Infinispan allows you to access the data grid though the WebSocket protocol. If you prefer, you can use a JavaScript Cache API provided by Infinispan.

Before we get into the details, let's make an overview of some WebSocket concepts.

Introducing WebSocket

There are situations where we need bidirectional communication between our remote server and a client application, such as in an instant messaging or gaming application. Remember that HTTP is a stateless protocol and in traditional web applications, to implement this kind of solution, we need to use a technology such as Comet, HTTP Server Push, or Ajax Push and perform many ...

Get Infinispan Data Grid Platform Definitive Guide 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.