Yes, storing the rules in a database or storing them in a repository as guvnor will allow you to configure the rules any time you want.<br>It would be nice to know about your object model to be able to describe the better approach for writing rules against it.<br>
Greetings.<br><br><div class="gmail_quote">2011/3/25 Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The easiest suggestion would be to store DRL in your database ;)<br><br>These is a (dieing) BRL XML format but I believe its use is discouraged (as it&#39;s essentially an XStream output of a object model).<br><br>You could also look at writing a persistence layer over FactModel which is the foregoing object model; to re-hydrate direct from structured database tables with an ORM.<br>

<br>Looking however at your example rules; I believe the simplest approach would be to write your own parser that generates DRL.<br><br>Have you considered Guvnor which would suit your needs ideally?<br><br>With kind regards,<br>

<br>Mike<br><br><div class="gmail_quote"><div><div></div><div class="h5">2011/3/25 bilasini sahoo <span dir="ltr">&lt;<a href="mailto:s.bilasini@gmail.com" target="_blank">s.bilasini@gmail.com</a>&gt;</span><br></div></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
<div>Hi All,</div>
<div>   I am new to this Drool rule ingine use.</div>
<div>Normal drl is working for me.</div>
<div>But mu requirement is i need to configure all the rules in Data base and from there i need to inject to the Rule engine.This is beacuse Rules can be configured any point of time.</div>
<div> </div>
<div>Please let me know if is there any special foemat of rule configuration is required so that creating rule file would be easier</div>
<div> </div>
<div>currently i have configured as</div>
<div> </div>
<div>(Company=CCC &amp;&amp; Organisation=OOO and Dept=HR) OR (Country=UK)</div>
<div>
<div>(Company=CCC &amp;&amp; Organisation=OOO )and (Dept=HR OR Country=UK)</div>
<div> </div>
<div> </div>
<div>please advice. I am stuck with this proble since 2days</div>
<div> </div>
<div> </div>
<div>Thanks,</div>
<div>Bilasini</div></div><font color="#888888">
<div> </div>
</font><br></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br></blockquote></div><br>
<br>_______________________________________________<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>
<br></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
 - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>