WebSocket
WebSocket (https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) is a communication protocol that works on top of TCP. It provides a full-duplex communication channel over a single TCP connection. It was standardized by W3C (https://www.w3.org). It is lightweight and enables real-time communication between a client and server. In terms of web applications, this enables the server to communicate with the client app in the browser without a request from the client. This opens the door to pushing data from server to client in real-time and for implementations such as real time chat, notifications, and so on. On the server side, JHipster relies on Spring, which provides the necessary support (https://spring.io/guides/gs/messaging-stomp-websocket/ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access