--
Weinan Li
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, April 5, 2013 at 7:09 PM, Friso Vrolijken wrote:
> Hi Li,
>
> No, I’ve not tried that, as from the documentation I gather that the request
> will not return (i.e. the client will be kept waiting).
>
>
>
With asynch=true, you will get response immediately. And you can check the
result later.
I have written two documents about this but they are in Chinese:
http://weli.iteye.com/blog/1273163
http://weli.iteye.com/blog/1275313
Maybe you can use google translation to read it :-)
Anyway, it's very easy to use them, you can also check the examples in RESTEasy
source code:
examples/async-job-service
> One of my goals is to free up the client as soon as possible. Please let me
> know if my assumption (that the client needs to keep waiting) is incorrect.
>
> Groeten,
>
> Friso
>
> Van: Weinan Li [mailto:l.wei...@gmail.com]
> Verzonden: vrijdag 5 april 2013 13:06
> Aan: Friso Vrolijken
> CC: resteasy-users@lists.sourceforge.net
> (mailto:resteasy-users@lists.sourceforge.net)
> Onderwerp: Re: [Resteasy-users] [repost]: Long task, short request
>
> Have you tried the new async feature in servlet 3.0? RESTEasy supports it.
>
>
>
> --
>
> Weinan Li
>
> Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
>
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
>
> _______________________________________________
> Resteasy-users mailing list
> Resteasy-users@lists.sourceforge.net
> (mailto:Resteasy-users@lists.sourceforge.net)
> https://lists.sourceforge.net/lists/listinfo/resteasy-users
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users