© Josh Juneau 2018
Josh JuneauJava EE 8 Recipeshttps://doi.org/10.1007/978-1-4842-3594-2_16

16. WebSockets and JSON

Josh Juneau1 
(1)
Hinckley, Illinois, USA
 

The Java EE 8 platform aims to provide a common ground for developing Java Enterprise solutions that incorporate HTML5 and other modern web technologies. As such, there are a few core features that were added to Java EE 7, allowing for better bidirectional support of HTML5. The Java EE 7 platform introduced 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 ...

Get Java EE 8 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.