title: Spring ThreadPoolTaskExecutor vs Java Executorservice cachedthreadpool
body: <p>What are the pros and cons of using </p>
  
  <p>Spring  <a href="http://docs.spring.io/spring/docs/3.0.x/api/org/springframework/scheduling/concurrent/ThreadPoolTaskExecutor.html">ThreadPoolTaskExecutor</a> vs  Java <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html">Executorservice</a> <code>cachedthreadpool</code> even though spring is wrapper of Java concurrency.</p>
  
  <p>Just would like to know the flexibility in using them. </p>