<div>Sorry to disrupt your discussion,</div><div><br></div><div>I've start using Drools a while ago and I find your discussion very interesting about how to use what feature when and why. The current Drools Expert user guide is very nice, but it miss this crucial information. May I suggest to create a 'Best Practice' chapter with the recommendation you made.</div>
<br clear="all">Patrik Dufresne<br>
<br><br><div class="gmail_quote">On Thu, Mar 29, 2012 at 8:21 AM, Vincent LEGENDRE <span dir="ltr"><<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Far much valuable reply than mine :)<br>
A great summary of common concerns that must be evaluated before starting coding a rule system.<br>
<br>
Also consider :<br>
- using rule flow (if you are allowed to)<br>
- use sequential mode and pipe your data 'in the next rule box' programmatically (using rules?)<br>
- ask your architect ? He is true for no-loop, but for others, re-writing existing DRL code that used all that stuff, and throw all at once is farly more dangerous ...<br>
<div class="im"><br>
>> "remove all salience from rules and make the rules independent (don't decide its execution flow)"<br>
<br>
</div>This is all the question.<br>
It mainly depends of the usage, as Davide said.<br>
It also depends of who is authoring/specifying rules : if the guy supposes some flow, he is not writing independant rules ...<br>
<br>
these other rules depend of the first :<br>
<a href="http://2.no" target="_blank">2.no</a> drools functions<br>
3.Activation group / ruleflow / salience ...<br>
5.don't call any java function (thus no functions at all, no predicates/utils methods, only DSL? only POJO?).<br>
<br>
this one is suspect ...<br>
<div class="im HOEnZb"> 4.Don't use UPDATE and Global in drools .<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>