Red Hat Training

A Red Hat training course is available for JBoss Enterprise SOA Platform

3.2. Drools Project Structure Overview

Newly created projects contain an example rule file Sample.drl in the src/main/rules directory and an example java file DroolsTest.java. These can be used to execute the rules in a Drools engine in the folder src/main/java , in the com.sample package. All the others .jar's that are necessary during execution are also added to the classpath in a custom classpath container called Drools Library .

Note

Rules do not have to be kept in Java projects at all, this is just a convenience for people who are already using Eclipse as their Java IDE.