Java – Async in Servlet 3.0 vs NIO in Servlet 3.1
I will try to summarize what I learned. To understand the problem that Servlet 3.0 and Servlet 3.1 solve, let’s look at it this way: Prior to Servlet 3.0: The problem with synchronous processing of requests is that it resulted in threads (doing heavy-lifting) running for a long time before the response goes out. If … Read more