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

[jsr339-experts] Proposal draft for the JAX-RS server-side asynchronous request processing API

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 05 Aug 2011 18:25:39 +0200

Hello *,

Based on the recent discussion in the EG, I have checked in a proposed API code including a couple of sample resources
to demonstrate the intended usage:

http://java.net/projects/jax-rs-spec/sources/git/revision/e8a964aaa0e8af2febd551660d07df3bbb903bcc

Based on the EG feedback, I have focused on simplicity and addressing the most basic scenarios. The API consists of
@Suspend method-level annotation and AsyncContext interface.

Please review the examples to see how the API is supposed to be used:

http://java.net/projects/jax-rs-spec/sources/git/content/src/examples/src/main/java/jaxrs/examples/async/LongRunningAsyncOperationResource.java

http://java.net/projects/jax-rs-spec/sources/git/content/src/examples/src/main/java/jaxrs/examples/async/AsyncEventResource.java

Looking forward to your feedback.

Kind regards,
Marek