© Iuliana Cosmina, Rob Harrop, Chris Schaefer, and Clarence Ho 2017
Iuliana Cosmina, Rob Harrop, Chris Schaefer and Clarence HoPro Spring 5https://doi.org/10.1007/978-1-4842-2808-1_17

17. WebSocket

Iuliana Cosmina, Rob Harrop2, Chris Schaefer3 and Clarence Ho4
(1)
Sibiu, Sibiu, Romania
(2)
Reddish, UK
(3)
Venice, Florida, USA
(4)
Hong Kong, China
 
Traditionally, web applications have utilized the standard request/response HTTP functionality to provide communication between the client and server. As the Web has evolved, more interactive abilities have been required, some of which demand push/pull or real-time updates from the server. Over time, various methods have been implemented, such as continuous polling, long polling, and Comet. Each has its pros ...

Get Pro Spring 5: An In-Depth Guide to the Spring Framework and Its Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.