Noa Drach [
https://community.jboss.org/people/newway] created the discussion
"Avoiding concurrent invocations of an automatically scheduled bean"
To view the discussion, visit:
https://community.jboss.org/message/647455#647455
--------------------------------------------------------------
Hello All,
previously we used quartz and org.quartz.StatefulJob to make sure that a scheduled method
will not be invoked if the previous method didn't complete it's work.
is there a way to achieve the same behavior when using EJB3.1 and @Schedule?
I tried to play with -
1. getting the handle at the beginning of the method
2. canceling the timer
3. executing the BL
4. requesting the handle from the timer
this is based on
http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html
http://docs.oracle.com/javaee/6/tutorial/doc/bnboy.html
but i get many errors (running on jboss-as-7.1.0.CR1b)
does any one know if there is a way to do the above scenario?
thanks,
Noa
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/647455#647455]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]