[jboss-user] [Beginners Corner] - Re: How to get a WorkManager from a Bean
weston.price@jboss.com
do-not-reply at jboss.com
Wed Jan 31 11:47:34 EST 2007
anonymous wrote :
| What is the recommendation to start/manage background worker threads in JBoss 4.0.x?
|
There is nothing to prevent you from developing a custom MBean that uses threads or a thread pool to preform background tasks. Simple wrap your Runnable/Thread stuff in an MBean and that's that. Also, JMX is nice for configuration/management as well. This would be my suggestion.
You could develop a custom JCA adapter that's sole purpose is to give EJB and Servlets access to the WorkManagement API but this is a bit heavy when a simple MBean would really suffice.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008854#4008854
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008854
More information about the jboss-user
mailing list