I am starting to read about jee 7, and one thing I am reading:
"Servlet technology only allows traditional (blocking) I / O during the processing of a request since it was created. In the Servlet 3.1 release, the new non-blocking I / O API allows servlets to read or write without any locks."
How true is this statement since Servlet 3.0 introduced AsyncContext and the asynchronous servlet?
“This means that other tasks can be performed at the same time as reading or writing, without any expectations. This, in turn, means that now you can easily perform Ajax and partial page updates without making separate servlet calls for each update."
So, what is the new feature introduced in servlet 3.1 compared to the 3.0 specifications for asynchronous servlets?
thank
source
share