title: How can I use spring to fire off an asynchronous batch task?
body: <p>Basically I would like to do some multithreading in my spring java program and I don't know how to use my servers spring resources to create a new thread.  </p>
  
  <p>I looked at <a href="https://stackoverflow.com/questions/852743/any-good-spring-threading-with-a-taskexecutor-examples">Any good Spring threading with a TaskExecutor examples?</a> but I couldn't figure out where the original <code>TaskExecutor</code> came from, like how would I pass that into the class?  </p>
  
  <p>Also is <code>TaskExecutor</code> the best thing to use for just creating another thread in my program?  </p>