why do we need async rest web services when it is already running asynchronously?
<p>I have created a simple rest web service like this. It's not asynchronous.</p>

<pre><code>@Path("/rest")
class rest{
     @GET
     @Path("/asyncTest")
     public String AsyncTest(){
          //Some long operation
          Thread.sleep(60000);
          return "Success";
     }
}
</code></pre>

<p>And My client is a Browser.</p>

<p>If I hit this web service in 3 different browsers this is what I observed</p>

<pre><code>Chrome Browser  --&gt; Hit request 12:00 AM --&gt; Response 12:01 AM
Firefox Browser --&gt; Hit request 12:00 AM --&gt; Response 12:01 AM
Opera Browser   --&gt; Hit Request 12:00 AM --&gt; Response 12:01 AM
</code></pre>

<p>If my simple web service is not working as async I supposed to get the following results right ?</p>

<pre><code>Chrome Browser  --&gt; Hit request 12:00 AM --&gt; Response 12:01 AM
Firefox Browser --&gt; Hit request 12:00 AM --&gt; Response 12:02 AM
Opera Browser   --&gt; Hit Request 12:00 AM --&gt; Response 12:03 AM
</code></pre>

<p>But that is not happening. In this case why do I have to use Async Web Services ?</p>