Snippet: Integrating the Drools Business Rules Management System in 5 Minutes
Drools is a slim Business Rules Management System (BRMS) solution with different integrations and tools available. In the following short snippet I’d like to demonstrate how to integrate a simple rule engine into an application using this library. Figure 1. Drools Example running in Eclipse IDE Dependencies Using Gradle here we only need to add one dependency for drools-compiler to our project’s build.gradle. In addition, we’re adding a task to execute our application. ...