jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Re: JAX-RS 2.0 API for asynchronous server-side request processing

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 25 Jul 2011 09:55:48 -0400

On 7/25/11 9:53 AM, Santiago Pericas-Geertsen wrote:
>
> On Jul 25, 2011, at 8:31 AM, Bill Burke wrote:
>
>> In Resteasy, we do something much simpler than Atmosphere and the app-developer decide how they want to handle responses. Atmosphere seems a little ambitious to add to the spec as it looks like a full messaging solution, but I'm willing to support the addition as it looks kinda cool.
>
> We need to decide if want to support "collaborative" applications (like chat) in which messages can be broadcasted to multiple (suspended) connections. On the one hand, these apps are getting ever more popular (with new HTML5 protocols like Server Sent Events and Websockets) and it would be nice to support them; on the other, sending multiple, short messages over the same connection (HTTP streaming) raises some questions in relation to filters, MBR/MBW and the JAX-RS pipeline.
>

Comet style messages ain't really REST, and we would have to implement
an on-the-wire protocol, no?

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com