Alexey Saenko wrote:Hi Kumar Jaya,
org.jboss.util.threadpool.BasicThreadPool implements ThreadPool from the same package, therefore, I think, any thread pool you want to use as a jboss service must implement ThreadPool interface.
I am not intending to use the jboss service, my sar file that has the custom threadpool that I have created is working fine, I just wanted to know if this custom thread pool uses seperate bunch of threads, or it uses the threads created by JBoss under BasicThreadPool.
Also in what package does the interface ThreadPool come from, is it JBoss dependant??
Is it a good practice to create thread pools within sar files to be deployed in JBOSS??
Regards.....