Chapter 6. More rules in the JBoss IDE

In the previous chapter we moved away from the Guvnor editor and started using JBoss IDE to edit our rules. Our Hello World example was a useful start, but we know that rules can do much more. For example, consider the poor Ooompa Loompas that are shipping the chocolate bars out of the factory door. Wouldn't it be nice if we drew up a shipping schedule for them? Before we do that we'll look again at the structure of a rule file. Towards the end of this chapter, we'll look at some more advanced rules that we can write and run in the IDE.

Rule syntax

We bumped into our first rule ( .drl) file in the previous chapter. We will see a lot more of it here, so it's worth going over it again. Our rule file can contain ...

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.