This discussion is archived
1 Reply Latest reply: Jan 12, 2012 10:19 PM by 910542 RSS

JavaEE 6 - Timer

793892 Newbie
Currently Being Moderated
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
    910542 Newbie
    Currently Being Moderated
    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.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points