1 Reply Latest reply on Nov 18, 2005 4:37 AM by Alexander Serbul

    Problem with EJB 2.1 timeouts

    Alexander Serbul Newbie

      Good day!

      I encountered an interesting situation about EJB timer service.

      1) For example, I created an implementing TimerObject Stateless Session Bean.
      2) In ejbSetSessionContext method I created an timer to invoke ejbTimeout on my EJB every 15 seconds.
      3) Ok. Container invokes this ejbTimeout every 15 sec. But what happens is previous ejbTimeout didn't returned because it is waiting for some connection for example. Would container invoke ejbTimeout while processing previous ejbTimeout on this one Stateless EJB?

      I looked in EJB 2.1 spec. but didn't find corresponding answer.