May I know the difference between Spring’s thread pool and JDK’s thread pool?

  java, question

JDK’s is ThreadPoolExecutor
Spring’s is ThreadPoolTaskExecutor.

I don’t know the difference after searching online. I want to ask you what the difference is.

API documentationIt is very clear in, SpringFrameWork’s ThreadPoolTaskExecutor is a tool class assisting JDK’s ThreadPoolExecutor, which provides attributes through JavaBeans’ naming rules for easy configuration.