O'Reilly logo

Infinispan Data Grid Platform Definitive Guide by Wagner Roberto dos Santos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required