Book Image

Mastering jBPM 5

By : Simone Fiorini, Arun V Gopalakrishnan
Book Image

Mastering jBPM 5

By: Simone Fiorini, Arun V Gopalakrishnan

Overview of this book

If you are a designer or developer who wants to build and operate business process-centric applications, then this book is for you. Knowledge of the basic concepts of application development in Java will be helpful in following the concepts covered in the book, but is not necessary.
Table of Contents (13 chapters)
12
Index

RuntimeManager service and the engine


RuntimeManager has been introduced to simplify the configuration of KieBase (KnowledgeBase) and KieSession (KnowledgeSession). Its main duty is to manage and create instances of RuntimeEngine according to predefined strategies (see the Runtime strategy section).

org.kie.api.runtime.manager.RuntimeEngine is the entry point to the engine services; its main purpose is to provide the user with pre-configured and ready-to-use engine components:

  • KieSession

  • TaskService

  • AuditService

org.kie.api.runtime.manager.RuntimeManager unburdens the user from the development of a typical boilerplate code; it sets up the execution environment for processes (wrapping the KieSession and the task service into the RuntimeEngine) and manages the following Drools services:

  • Scheduler service: The scheduler service manages timer-based jobs for execution (we have seen it in Chapter 4, Operation Management, and Chapter 5, BPMN Constructs with Async task)

  • TimerService: Implements timer...