I&#39;ve used Jess before and one of the things that I really found helpful was it has an interactive shell and the fact that you can model fact definitions  (deftemplate - equivalent to a Java class) and insert facts (via assert) in the shell directly. That allowed for very easy experimentation without getting into too much programming. An example is provided below and you can see that examples like this are easy to experiment with.<div>
<br>Is there an equivalent interactive shell in Drools? Would it allow the definition and creation of Facts in this fashion?</div><div>Or do most of you just cut the java code to experiment?<br><div><br></div><div>&gt;&gt; SAMPLE JESS  CODE</div>
<div><br></div><div>; This is equivalent to a Java class definition</div><div><div>(deftemplate day_time</div><div>    (slot time_of_day)</div><div>    (slot day_of_week)</div><div>)</div><div><br></div><div>; Rule 1</div>
<div>(defrule have_a_nice_weekend</div><div>    (day_time (time_of_day EVENING) (day_of_week FRI))</div><div>    =&gt;</div><div>    (printout t &quot;Good night. Have a great Weekend&quot;)</div><div>)</div><div>; Rule 2</div>
<div>(defrule tgif</div><div>    (day_time (time_of_day MORNING) (day_of_week FRI))</div><div>    =&gt;</div><div>    (printout t &quot;Good Morning. Aren&#39;t you glad its Friday?&quot;)</div><div>)</div><div><br></div>
<div>; Insert a Fact</div><div>(assert (day_time (time_of_day EVENING)(day_of_week FRI)))</div><div><br></div><div>; Execute whatever is on the agenda</div><div>(run)</div><div><br></div></div><div><br></div></div>