4 Replies Latest reply on Jan 12, 2007 3:57 AM by Dimitris Andreadis

    An example of EJB application using JBoss Scheduler/Timer

    Anne Forumer Newbie

      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