1 Reply Latest reply on Jan 13, 2012 6:19 AM by 910542

    JavaEE 6 - Timer

      I am trying to make Java EE 6 timer work and I have got a few questions:
      how does it react in cluster? When node A starts timer, what would node B do? Would node B start another timer or would it detect that the timer is already running?
      also what happens when cluster crashes and re-starts? Would both nodes start the timer or only one node?

      thanks a lot
        • 1. Re: JavaEE 6 - Timer
          I guess you'll have different JVM's in your cluster setup, so i don't think timer A will know anything from timer B.
          To be honest, i don't know if both JVM's can be kept synchronized in such that you can deal with the same timers.