In my previous post of thread pool (http://www.techartifact.com/blogs/2009/06/what-is-thread-pool-in-java.html),I have given the theoritcal knowledge.now I came with code.Hope it will help a lot. Java’s implementation of thread pool is based on an executor. Executor is a generic concept modeled by this interface. You simple have to create the task and pass it on execute() method of [...]
