[jboss-user] [JBoss jBPM] - Re: question about JobExecutor and Threads
do-not-reply at jboss.com
Fri Jul 25 14:47:24 EDT 2008
I have a simple question.
Why is JEE based design using EJB timers so different from JobExecutor design?
It looks like JobExecutor polls the job table, fetch job entries, and execute them in a single thread
while ejb timer version creates timer thread per job entry.
This is because a performance improvement by concurrent execution using multiple threads?
I 'm thinking writing my own job execution mechanism worked in JEE environment which based on
JobExecutor implementation. It means only one ejb timer thread which polls, fetch and execute all avaliable jobs
is created in a JEE container.
What do you guys think this idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166739#4166739
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166739
More information about the jboss-user