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]http://atmosphere.java.net/nonav/xref/org/atmosphere/samples/twitter/TwitterResource.html#80 >