Chapter 9. Domain Specific Language (DSL) and RuleFlow

People new to rule engines are often confused by two things: the syntax of the rules, and the fact that the rule engine (and not you) decides the order in which your rules are fired. This chapter will show some ways of making both of these things easy to understand.

In the previous chapter, we saw how to use Excel decision tables to make it easier to write rules. This chapter takes off from the 'easy to write rules' theme. Although writing rules in Excel is good, wouldn't it be much better to write them in a language that is closer to English, or whatever human language you prefer? Domain Specific Language(DSL) gives you this option.

The other point of confusion is the order in which rules are ...

Get JBoss Drools Business Rules now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.