[jax-rs-spec users] [jsr339-experts] Re: Re: Adding SSE support to JAX-RS 2.1?

From: Santiago Pericas-Geertsen <>
Date: Thu, 6 Mar 2014 08:46:30 -0500

On Mar 5, 2014, at 3:07 PM, Bill Burke <> wrote:

> Honestly, I don't see why we should have support for this in JAX-RS. Let the servlet spec handle it.

 Would you mind elaborating on this? I don't know of many developers that would prefer to use servlets over JAX-RS for anything, including new features like SSE.

-- Santiago

> On 3/5/2014 10:51 AM, Sergey Beryozkin wrote:
>> Is it supposed to represent WebSocket at high level by any chance ? What
>> is the underlying mechanism/transport it is meant to represent if not ?
>> And it is not for 2.1, this is a completely new feature, 2.1 is supposed
>> to be a maintenance/bug fixes release
>> Sergey
>> On 05/03/14 15:39, Marek Potociar wrote:
>>> Hello experts,
>>> As you may know, the first steps towards starting work on Java EE 8 has
>>> been made already. Among the most important ones was the Java EE 8
>>> Community Survey. As the survey results
>>> <>
>>> indicate,
>>> there is a very strong support in Java EE community for coming with a
>>> standard API for supporting Server-Sent Events in Java EE 8. Clearly,
>>> one way or the other, SSE support will be added in Java EE 8 platform.
>>> There are multiple options how to achieve this and one of these options
>>> being considered is to extend JAX-RS API to provide better support for
>>> SSE. Before we make a final decision, I'd like to get your feedback on
>>> whether or not you think that extending JAX-RS API with SSE support is a
>>> good idea.
>>> To get the idea how such JAX-RS API support could look like, please
>>> check Jersey User Guide section that describes how client and server SSE
>>> support is currently implemented in Jersey 2.x:
>>> I am looking forward to your feedback.
>>> Thank you,
>>> Marek
> --
> Bill Burke
> JBoss, a division of Red Hat