25 Integrating Business Processes and Rules
So far, we have discussed how to integrate the Drools rules engine (Chapters 22 and 23) and the jBPM business process engine (Chapter 24) as separate services into Seam applications. Business processes and rules are naturally complementary to each other. At each node of the process, we can fire a set of rules to decide what to do next, based on the current state of the application. This way, we can express a large chunk of our business logic in a declarative manner and avoid much of the business logic coding in Java.