1 Reply Latest reply on Feb 2, 2007 2:34 PM by genman

    Using JBoss Scheduler

    mvempaty

      Has anybody used the JBoss scheduler to automate some background task processing ? While I am familiar with setting up the scheduler-service.xml, I want to know if it is possible to programmatically get a scheduler to run rather than relying on the timer that it uses. To illustrate:

      If ClassA is setup to run whenever the scheduler runs say every 5 mins, can I use another program to run ClassA on demand ?

      Murali

        • 1. Re: Using JBoss Scheduler
          genman

          There are two ways to deploy your ClassA, you can have the scheduler create and call an instance of it, or deploy ClassA as an MBean. If you do the latter, you can activate your class on demand through JMX.