[jboss-dev-forums] [Design of JBoss jBPM] - Re: delayed execution
tom.baeyens@jboss.com
do-not-reply at jboss.com
Thu Dec 7 10:08:16 EST 2006
delayed execution is done within the same transaction. asynchronous continuation introduces a wait state and continues execution in another transaction.
delayed execution transforms tail recursion into a while loop.
but unless you have a while loop, i think there is less chance that you run into a problem.
another motivation whas that it will reduce the overall runtime footprint. if on average, you have 2 automatic nodes in a row, this will reduce the depth of the call stack of all concurrent threads.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991975#3991975
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991975
More information about the jboss-dev-forums
mailing list