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

Java EE and the emerging standards

Java EE has always been an adopter of emerging standards and features and capabilities, which were required by the Java EE community. Starting from Java EE 6, Java EE spec leads focused their attention on the emerging standards and in Java EE 7 full support for HTML5, SSE and WebSockets is included in the spec; thus any Java EE application server can host a WebSockets, SSE, and HTML5-oriented application without any compatibility issue at the server side.

Java EE and Server-sent Events

For the SSE, which is an HTML5 browser API component, the server side can be a Servlet that produces SSE messages according to the SSE message format or it can be a SSE resource which is POJO annotated with @Path. In the client side, ...

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