An example with Tomcat 8 and Servlets with asynchronous support
curl http://localhost:8080/sync
An example using Tomcat 8 and annotation-declarative Servlets with asynchronous support
Java
An example with Tomcat 8 and Servlets with asynchronous support
curl http://localhost:8080/sync