Eclipse Tyrus is the open source JSR 356 - Java API for WebSocket
Eclipse Tyrus is the open source JSR 356 - Java API for WebSocket reference implementation for easy development of WebSocket applications.Eclipse Tyrus is also a Jakarta WebSocket 2.0 compatible implementation. WebSocket protocol defined by IETF provides bi-directional communication between the server and the remote host. The pros are mainly the ability to communicate both ways, low latency and small communication overhead. Therefore Tyrus and WebSocket in general are suitable for web applications that require sending a huge volume of relatively small messages like online games or market ticker broadcasting.
...SockJS-client does require a server counterpart, such as SockJS-node, which is a SockJS server for Node.js. The API should follow HTML5 Websockets API as closely as possible. All the transports must support cross domain connections out of the box. It's possible and recommended to host a SockJS server on a different server than your main web site.