WebSocket Programming with Java

This is a four-minute introduction to websockets using Eclipse Tyrus.

A Websocket allows creating a communication channel between a client and a server. In particular, a communication channel that uses the WebSocket protocol as a communication protocol. The WebSocket protocol is compatible with the HTTP protocol (yes, the one used to connect web browsers and web servers). However, it has exceptional improvements: (1) lower overhead than HTTP and (2) bi-directional web communication.

. . .

[Click here to continue reading on medium]