February 2024
Beginner to intermediate
316 pages
7h 21m
English
Traditionally, web applications have been developed using the request/response model followed by HTTP. In this traditional request/response model, the request is always initiated by the client, then the server sends a response back to the client.
There has never been any way for the server to send data to the client independently, that is, without having to wait for a request, until now. The WebSocket protocol allows full-duplex, two-way communication between the client (browser) and the server.
The Jakarta API for WebSocket allows us to develop WebSocket endpoints in Java.
In this chapter, we will cover the following topics:
Read now
Unlock full access