WebSockets EAP 6.3, what is that?

One of the new features included on JBoss EAP 6.3 is WebSockets, but what is it?

JSR-356 define a WebSocket as a bi-directional communication mechanism between client (browser) and server, allowing simultaneous messaging. We worked with applications which client, through a request, receive a response from server, but server only send data if the client asks. With the WebSocket API, the server is allowed to send data without a request from the client, establishing a single connection (socket) between the client and the server.

But what utility has?

Continue reading