EJB @Schedule wait until method completed
If only 1 timer may ever be active at the same time, there are a couple of solutions. First of all the @Timer should probably be present on an @Singleton. In a Singleton methods are by default write-locked, so the container will automatically be locked-out when trying to invoke the timer method while there’s still … Read more