When a single-event timer expires, the EJB container will make a call to ejbTimeout and then cancels the timer.

When an entity bean instance is removed from j2ee container, the container cancels the timers associated with that particular instance.

When the bean invokes the cancel method of the Timer interface, the container cancels the timer.

Parent Category: Java EE Tips