I created an EJB Timer service inside a stateless session bean.
It works well. I created a client class that calls a method that creates the timer and a method that is called when the timer times out.
However it does not stop when i call the cancel() method of the javax.ejb.Timer interface.
If i stop the application server and I restart it, the timer is still working. It is a nice feature but I would like to stop it anyways.
So my question is :
how do you stop a Timer with JBoss ?
Are there some configuration files to modify ?
Thanks for helping.
Never mind, it works. I was not cancelling it properly.