title: How to control how many threads in a Spring application?
body: <p>Is it important, or even possible, to control how many threads Spring uses in, for example, a web application?</p>
  
  <p>Lets say I have a Spring based REST server. Should I, or is it possible to control the number of threads Spring uses to service requests? If I deploy my app on a machine with 8 cores vs 4, should I have to configure Spring to account for the difference in cores?</p>