What is the difference between ThreadPool and ThreadExecutor in the Quartz framework?
You can configure it in the quartz.properties like this:
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 5
org.quartz.threadExecutor.class = org.quartz.commonj.WorkManagerThreadExecutor
I don't understand it. Looking at the org.quartz.commonj.WorkManagerThreadExecutor, it just looks for the commonj.work.WorkManager from jndi and then runs job tasks using that manager.
AFIK, you can configure thread count etc when declaring the commonj.work.WorkManager in JNDI context. Something like this
<Resource auth="Container"
factory="de.myfoo.commonj.work.FooWorkManagerFactory"
maxThreads="2"
minThreads="1"
name="wm/workManager"
type="commonj.work.WorkManager" />