Show Table of Contents
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.