CHAPTER 9

image

WebSockets and JSON-P

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 bi-directional support of HTML5.

This chapter will focus on examples that demonstrate these HTML5 application programming interfaces (APIs). You will learn how to make use of WebSockets and JSON-P so that your application’s client-server communication can become seamless, whether the user interface is written with HTML5, JSF, or another markup language.

WebSockets

The Java EE 7 platform eases ...

Get Introducing Java EE 7: A Look at What's New 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.