Chapter 7. Human-Readable Rules

The title of this chapter could be offensive to some developers. Aren't all the rules we have covered so far human-readable? Aren't we humans? The idea behind this chapter is to introduce other ways to define rules in Drools that are more user-friendly. In this chapter, "human" means a non-technical person.

So far, we have covered a single way to define rules and knowledge: the DRL language. This language—even if powerful—is inappropriate, most of the time, for users without a technical background. And even then, DRL requires a certain amount of time to become familiar with it. Drools provides other means of knowledge creation by supporting different abstractions over DRL that make the language simpler.

Having a simpler ...

Get Mastering JBoss Drools 6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.