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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.