I wanted to see how to use the setThreadPool() functionality. Let\'s say my main class is the following:
setThreadPool()
import javax.servlet.SingleThreadModel; imp
You can also use the following:
server.setThreadPool(new ExecutorThreadPool(5, 10, 10, TimeUnit.SECONDS))