users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Latest async API changes

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 08 Aug 2012 15:06:29 -0400

I don't agree with @ManagedAsync. A method annotated with @ManagedAsync
is executed in a separate thread? The servlet container is *already*
doing this so I don't see the point of this annotation.

Please make ConnectionCallback optional as I don't believe there is any
capability within Servlet 3 of providing that functionality.

Everything else looks good.


On 8/8/2012 2:36 PM, Marek Potociar wrote:
> Hello experts,
>
> Please review the latest async API changes:
> http://java.net/projects/jax-rs-spec/sources/git/revision/c13c30bf78e7a5113e6dcd7384ef663bb3db51eb
> I tried to make sure the javadoc is self-explanatory. You may also want
> to consult the async-related examples to see the API in action.
>
> Thanks,
> Marek
>

-- 
Bill Burke
JBoss, a division of Red Hat