Have a look here:
http://www.jboss.org/drools/documentation.html
it contains lots of useful documentation, in particular you probably want to read the
Drools Expert (rules engine) documentation as this describes the syntax of the rules and
explains stuff in more detail - though you seem to be on the write track with your
understanding below.
Thomas
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Harshit Bapna
Sent: 23 September 2010 10:15
To: rules-users(a)lists.jboss.org
Subject: [rules-users] How does drools loads a modified rule ?
Hi All,
I am new to Rule Engine concept. I am investigating the Drools 5.0 to check if it meets
our requirements.
Questions:
1. I am not able to find a resource to learn the syntax of drool rules.
I have gone through the shopping example in Drools 5.1 examples but not able to get
the basics right.
$c : Customer() -- what does this mean ? Is it that all objects of type
Customer in the working memory are matched are taken one by ones and assigned to c ?
$d : Discount( customer == $c ) -- Each discount objects which have
the matching customer are assigned to d. How can I debug this process in eclipse ?
Please provide a resource where I can learn the drl syntax.
Also what are differences in drl when dialect is java and not mvel.
2. How would a rule engine behave when rules are running on the facts and simultaneously
the rules are updated in the knowledge base?
________________________________
**************************************************************************************
This message is confidential and intended only for the addressee. If you have received
this message in error, please immediately notify the postmaster(a)nds.com and delete it from
your system as well as any copies. The content of e-mails as well as traffic data may be
monitored by NDS for employment and security purposes. To protect the environment please
do not print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United
Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603
8808 40-00
**************************************************************************************