[jboss-dev-forums] [Design of JBoss jBPM] - Re: Failure handling

estaub do-not-reply at jboss.com
Wed Aug 1 09:37:49 EDT 2007


>> you wouldn't be able to do JBPM related actions is this isolated transaction

Correct, but I'm not sure it's a problem.  The actionhandler calls a local EJB to perform the transactional behavior unrelated to JBPM.  The return value from the local EJB is then used to perform whatever JBPM-specific behavior is necessary, on the JBPM transaction.

>> Kind of making things like Seam unusable.
I don't know enough about Seam to have an opinion.

--

Re recursive execution:

I can't really point at a specific "this test fails"... it's more that it's a likely source of bugs due to incorrect analysis, both for JBPM developers and JBPM users.

For example, an actionhandler might be incorrectly written:


acquireSomeResource()
try
{
   useTheResource()
   leaveNode();
}
finally
{
releaseSomeResource()

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069640#4069640

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069640



More information about the jboss-dev-forums mailing list