O'Reilly logo

Mastering jBPM6 by Arun V Gopalakrishnan, Simone Fiorini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fault tolerance

Fault tolerance indicates the ability to operate in a predictive manner, when one or more failures happen in the system. In Java-based applications, these faults are managed using exception handling mechanisms. jBPM is no exception; it uses the exception handling approach to be fault-tolerant.

Exception handling in process definitions

We can specify the occurrence and the handling mechanisms that happen in a business process using BPMN elements, as follows:

  • Error events can be used to specify the occurrence of an unexpected situation. Compared to Java programming, this is similar to throwing an error.
  • Compensation can be used to specify what to do when an error has occurred; this is similar to the catch operation construct in a Java ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required