O'Reilly logo

Drools JBoss Rules 5.X Developer's Guide by Michal Bali

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

Business logic

We'll use our previously implemented services. Created customers will be validated (described in Chapter 3, Validating, and Chapter 6, Working with Stateful Session) before they are persisted. New loans will go through the loan approval process (described in Chapter 8, Defining Processes with jBPM), and if they meet all criteria, a new "process loan" human task will be created. Bank employees will see this task on their task lists and will be able to claim a task, start working on it, and when they are done with it, complete the task. A supervisor will be able to approve a loan. After approval, the process will finish. Various events will be generated and fed into the CEP service (described in Chapter 7, Complex Event Processing ...

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