Abstract
Traditionally, web applications have utilized the standard request/response HTTP functionality to provide communication between 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 and cons, and the WebSocket protocol is an attempt to learn from those needs and deficiencies, creating a simpler and more robust way to build interactive applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Chris Schaefer
About this chapter
Cite this chapter
Schaefer, C., Ho, C., Harrop, R. (2014). WebSocket. In: Pro Spring. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6152-0_17
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6152-0_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6151-3
Online ISBN: 978-1-4302-6152-0
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)