The different implementations available

The RuntimeManager and RuntimeEngine are interfaces that can be implemented in any way a specific domain requires. There is no correct way of using the runtime managers, because the specifics of what your organization is trying to accomplish will determine whether a KIE session should be shared between different processes or not. Nevertheless, the jBPM6 project provides a number of implementations for the most common situations.

Depending on which implementation of the runtime manager we use, we will need to request a RuntimeEngine instance with different parameters. The runtime manager provides the getRuntimeEngine method to obtain a RuntimeEngine instance using a Context object as a parameter. This Context ...

Get jBPM6 Developer Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.