[jboss-user] [Management, JMX/JBoss] - An example of EJB application using JBoss Scheduler/Timer

forumer do-not-reply at jboss.com
Thu Jan 11 05:43:26 EST 2007


I'd appreciate if you could point me to an example of an implementation where an EJB in an application receives a periodic callback from a JMX Scheduler/Timer. How does this application registers itself with such scheduler?

I configured a JMX scheduler and gave it the class name of an EJB of an application. But the problem is  that Scheduler gets started before the application and I get an exception about not finding the class. I am not quite sure how to make the scheduler dependent on the application. There are a few posts to this effect, but they are not quite clear to me.

I'd prefer a solution where each application registers itself with the scheduler as different applications can "come" and "go".

I'd appreciate all suggestions.

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000333#4000333

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000333



More information about the jboss-user mailing list