[jboss-user] [jBPM] New message: "Re: How to handle rollback due to runtime errors"

Ronald van Kuijk do-not-reply at jboss.com
Tue Feb 23 16:30:58 EST 2010


User development,

A new message was posted in the thread "How to handle rollback due to runtime errors":

http://community.jboss.org/message/528039#528039

Author  : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje

Message:
--------------------------------------------------------------
Yes there has been ideas in this area... In fact jBPM 2.0 had some functionality for 'compensating' actions. It was not in the next release since it was way to difficult to fully support all kinds of compensations and have the right information available.  E.g. the jBPM task that was to be rolled back should have the 'previous' data, but if, like you say, e.g. the relevant DB is not available, how can that be accessed?And this is just one of a multitude of problems.
 
That is specifically the reason I would not, (really *not*) use plain webservices in enterprise grade systems other than simply querying e.g. a usermanagement system. All other kinds of access to external/different systems should either go through transaction aware protocols or should be capable to receive the same data twice if e.g. the activity is executed again.
 
All these things are 'good habits' in designing systems and one of the reasons webservices did not really take off (have you seen a webservice library that could participate in a JTA transaction? (e.g. as a JCA module) And if you have, could the receiving party handle ws-transactions?
 
So your question is a valid and understandable one, but the solution is not within jBPM but e.g. http://jboss.org/jbosstm (but that is JBoss specific)
 
Cheers,
 
Ronald

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/528039#528039




More information about the jboss-user mailing list