Re: emulate synchronous response, need suggestion

2012-01-08 Thread Ivan Pechorin
2012/1/8 beep02 : > How can I release the request thread and in the same time keep user in wait > without response? > Is there some way to achieve that? Yes, either use Servlet 3.0 container such as Tomcat 7 (just google for AsyncContext [1] and ServletRequest.startAsync [2]). Or (for older versio

emulate synchronous response, need suggestion

2012-01-08 Thread beep02
Hi, I emulate synchronous HTTP communication(that is requirement): 1. I send http request to the Servlet from a browser. 2. Servlet opens connection to the remote queue/server and send the message there. At the same time new Temporary queue opened to accept reply messages for each new HttpSessi