Asynchronous JAX-RS
Jason Lee 2012-12-19
Recently, I had to add support for asynchronous REST calls to the GlassFish REST interface to satisfy some customer requirements. In process of doing so, I learned something pretty provides some sort of REST asynchrony, but I'm not sure what UPDATE #1: As noted in the comments, I know next to nothing about Atmosphere. I mention it here only as some weak attempt at completeness that is, in hind sight, a really bad choice), implementing an async REST resource with JAX-RS is really quite simple. In this post, we'll take a look at two different approaches to "asynchronous" REST.