> The point that needs to be clarified in that case then is whether or not
> the request and response exist the scope of the web application when
> they enter async mode. Given that you can call
> request.getServletContext() and get the ServletContext it seems wrong to
> say that the request has left the scope of the web application.
>
> This comes back to your earlier point about clarifying the behaviour of
> the Request and Response methods when in async mode. Clearly there is a
> lot of work to be done here.
This is actually a good interpretation. Although I didn't do it like that since I just cut & pasted the old code for async without thinking further.
OTOH, I am not really convinced by the thread binding listener the way it was presented as a request listener, since this event can occur without a request in scope (example: start, stop, background processing).
Rémy