Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Java 2 SE 5.0 introduced utility classes for concurrent programming. These utilities reside in the package java.util.concurrent, and they include executors, concurrent collections, synchronizers, and timing utilities.
The class ThreadPoolExecutor as well as its subclass ScheduledThreadPoolExecutor implement the Executor interface to provide configurable, flexible thread pools. Thread pools allow server components to take advantage of the reusability of threads.