Hi All,<br><br>1. Is it a good idea to categorize rules, place each category of rules in a different drl file and load the different drls in a same knowledge base ?<br><br>Approaches to loading of rules in the knowledge base: <br>
1. Load different drl files in a single knowledge builder and add the package to a single knowledge base.<br>2. Load each drl file in a new knowlegeBuilder and then add the package to a single knowledge base. <br>3. Load different knowledge bases for different drl files.<br>
<br>IMO, 1 is better. (Since none of the examples are using multiple drl files so I asked this question)<br><br>2. My drools usage is for rules that requires stateless sessions<br>    I was thinking of using Sequential Rete.  (<a href="http://blog.athico.com/2007/07/sequential-rete.html">http://blog.athico.com/2007/07/sequential-rete.html</a>)<br>
    Apart from the below two lines of code is there anything which should be taken care of ?<br>            KnowledgeBaseConfiguration kbaseConf = KnowledgeBaseFactory.newKnowledgeBaseConfiguration();<br>            kbaseConf.setOption(SequentialOption.YES);//<a href="http://blog.athico.com/2007/07/sequential-rete.html">http://blog.athico.com/2007/07/sequential-rete.html</a><br>
            // kbaseConf.setOption(MultithreadEvaluationOption.YES);<br><br>3. How to achieve Multi Threading in drools for stateless rules? Is there a way where I can use the inbuilt parallelism (if it supports) ?<br>    <br>
    I found an option MultithreadEvaluationOption.YES in the knowledge base configuration. <br>    If any sample code or example for multi threaded usage of drools is available it would be of good help..<br><br><br>--Harshit<br>
<br>