O'Reilly logo

Seam Framework: Experience the Evolution of Java™ EE, Second Edition by Thomas Heute, Jacob Orshalick, Michael Juntao Yuan

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

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.

In this chapter, we will reimplement the number guess game from Section 24.5, but using declarative rules, instead of hardcoded business logic in Java, to manage the flow ...

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