© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.