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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...