Skip to main content

WebSockets and JSON-P

  • Chapter
  • First Online:
Java EE 7 Recipes
  • 2543 Accesses

Abstract

The Java EE 7 platform aims to provide a common ground for developing Java Enterprise solutions that incorporate HTML5 technology. As such, there are a few core features that have been added to Java EE 7, allowing for better bidirectional support of HTML5. The Java EE 7 platform eases communication between the client and the server via a technology named WebSockets, enabling more parity with the HTML5 standard. WebSockets is a full-duplex communication mechanism that allows both textual and binary messages to be sent between clients and servers, without the HTTP request/response life cycle. WebSockets allow either the client or the server to send a message at any time, providing an asynchronous solution for working with data while the user is performing a task.

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

© 2013 Josh Juneau

About this chapter

Cite this chapter

Juneau, J. (2013). WebSockets and JSON-P. In: Java EE 7 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4426-4_17

Download citation

Publish with us

Policies and ethics