[Jersey] Re: Entity streams

From: Gili <>
Date: Fri, 29 Apr 2011 12:16:29 -0700 (PDT)


Thank you for that link! Atmosphere is exactly what I had in mind. This
brings up the question: does this "Reverse-Ajax" model suffer from the
economies of scale problem mentioned by Roy Fielding in [1]?



Jakub Podlesak-2 wrote:
> Another problem here is even the StreamingOutput does not save you from
> running out of the Java threads.
> If you want a scalable solution, you would need to somehow re-use the
> threads to be able to serve
> all the long open connections. Some work in this area was done by Paul
> Sandoz and Jean-Francois Arcand
> with project Jersey and project Atmosphere. An example is available at
> [1].
> ~Jakub
> [1]
View this message in context:
Sent from the Jersey mailing list archive at