Hi,<div><br></div><div>1) Outside of Guvnor rules are normally defined in DRL (text files) or spreadsheets (Decision Tables).�There is an API to load these into KnowledgeBases at runtime.�Behind the covers Guvnor does much the same - generating DRL from its internal structures that are compiled into KnowledgeBases to be downloaded. Is XML essential or can DRL suffice? I believe there is a�proprietary�XML format however I am uncertain how well supported this is. I believe the plan is to migrate to RulesML at sometime.</div>

<div><br></div><div>2) You could look at using KnowledgeAgent which supports scanning and retrieving Knowledge artefacts from a single (central) location. You could also consider using a distributed cache in which serialisable KnowledgeBases could be stored. I think there are other users that use Terracotta in a clustered environment to support Drools but I don&#39;t know the detail.�</div>
<div><br></div><div>With kind regards,</div><div><br></div><div>Mike</div><div><br><div class="gmail_quote">On 1 November 2010 09:38, sameer.bogawat <span dir="ltr">&lt;<a href="mailto:sameer.bogawat@gmail.com" target="_blank">sameer.bogawat@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I have a project where I am allowing users to create rules from the<br>
application UI. Currently all the rules related info is stored in a database<br>
and the rules matching code is in Java. However this slows down the<br>
application considerably and hence we are looking at using a third party<br>
rules engine.<br>
<br>
�I have the following queries :<br>
<br>
1. Is it possible to use the backend APIs (if any) to create/modify rules in<br>
XML files in Drools on the fly i.e. at runtime ? We do not want to use the<br>
Guvnor UI to create/modify rules.<br>
<br>
2. We would be using a clustered environment , so is there any readymade<br>
webservice which will update the rules at one location (from where the other<br>
nodes can refer data).<br>
<br>
<br>
Any help with the above queries would be of great help. Do let me know in<br>
case you require extra information.<br>
<br>
Thanks in Advance !<br>
-Sameer<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Query-about-Drools-tp1820824p1820824.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Query-about-Drools-tp1820824p1820824.html</a><br>


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