[jax-rs-spec users] Re: [jsr339-experts] Re: [javaee-spec users] [jsr342-experts] Server-Sent Events in Java EE 8

From: <>
Date: Tue, 27 May 2014 17:46:08 +0000 (UTC)

IMHO, both websockets and SSE can be used in 2 different context. If we
want to communicate in both ways we can rely on web sockets.

Where as SSE will update the client whenever there is a need. It will
avoid the request from the client. Client listener will be notified
when there are some events are thrown from the server.

In another context, when we want to use Websockets, we need to rely on
completely new protocol (WS). But SSE communication is possible through
plain HTTP protocol. This is more powerful than a new protocol in my