title: Create a worker thread and run from a servlet or Spring controller
body: <p>I would like to execute some task after a user request in background. My initial idea is to create a work thread and execute it from a servlet. However, I do not want too many threads to be running at the same time so I will need something like a thread pool.</p>
  
  <p>Since I am already using Spring with my web application, I am wondering if there is anything in Spring or other libraries I can use to handle this problem without having to implement my own codes.</p>