O'Reilly logo

Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON by Bhakti Mehta, Masoud Kalali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Emerging standards

With the emergence of requirements and solutions for those requirements, standards emerged to ensure compatibility between different the layers, applications, and components that form a solution; asynchronous communication, and especially event propagation between clients and servers, is one.

Server-sent Events

Server-sent Events (SSE), or sometimes simply referred to as EventSource , is an HTML5 browser API that makes event pushing between server and client available to web application developers. The SSE component provides a structured mechanism for having a capability similar to long polling without some of the long polling drawbacks. As it is an HTML5 component, the browser should support HTML5 SSE to be able to take advantage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required