image

CHAPTER6

Adding Sparkle: Java WebSockets

Java WebSockets are unlike other Java EE web components because can they push data out to web clients without clients having to ask for it.

Java WebSockets are a departure from the HTTP-based interaction model, providing a way for Java EE applications to update browser and non-browser clients asynchronously. The interaction model for web sites has long been the HTTP request/response interaction model, which is rich and allows for many sophisticated browser-based applications. Each interaction, however, always starts from the browser with some action on the part of the user: loading a page, refreshing a ...

Get Java EE 7: The Big Picture 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.