IMO it really comes down to personal preference.<br><br>If you don&#39;t have any rules shared across campaigns I&#39;d personally use a different KnowledgeBase for each campaign. It&#39;ll make maintenance cleaner when things start to change.<br>
<br>However if you have rules that are shared across multiple campaigns then using a differentiator fact (i.e &quot;Campaign&quot;) that causes certain rules to activate for certain campaigns; again as maintenance will be cleaner.<br>
<br>Guvnor can reference models from multiple JARs; but if you already have a custom UI you&#39;d only really need Guvnor as your repository (i.e database) all be it with version control.<br><br>If you have your own UI and Guvnor&#39;s other features are excessive to 
your need then storing the DRL in a database is probably your simplest 
option.<br><br>Cheers,<br><br>Mike
<br><br>On 27 June 2011 13:41, dan.dobrescu <span dir="ltr">&lt;<a href="mailto:danutzdobrescu@gmail.com">danutzdobrescu@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I&#39;m trying to implement Drools in our project, but I really don&#39;t know which<br>
method to adopt. First of all, our project is about creating marketing<br>
campaigns for mobile network operators. So, we&#39;ve got a Web UI where we let<br>
the user define his own rules for the campaign.. Now.. here&#39;s my problem.<br>
Should i try to translate everything in the UI in a custom drl with a custom<br>
agenda-name (because there can be many custum campaigns with different<br>
flows), or should I create an object with different properties which should<br>
reflect the chosen options in the web-ui and then use it in my rules to<br>
create the behaviour?<br>
<br>
If I should go with the first option, how can I store it? Should I store the<br>
drl in Guvnor(but the models my change from time to time.. not the<br>
attributes used in the rules, other attributes.. and I can&#39;t import several<br>
jars from an url to have access to the models, can I?) or in DB, and the<br>
dynamically add the rules at run-time?<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Drools-implementation-problem-tp3113482p3113482.html" target="_blank">http://drools.46999.n3.nabble.com/Drools-implementation-problem-tp3113482p3113482.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</font></blockquote></div><br>