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.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-4426-4_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4425-7
Online ISBN: 978-1-4302-4426-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books