Skip to main content

WebSocket

  • Chapter
  • First Online:
Pro Spring

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics