<p>You can get the whole source code of the pkg (drl) an the model (jar) from Guvnor using rest and then you could try to compile the package in your app using Drools APIs. That is what Guvnor does.</p>
<p>Best regards,<br>
</p>
<div class="gmail_quote">On Jan 2, 2013 8:59 AM, &quot;arup&quot; &lt;<a href="mailto:arup4u2007@gmail.com">arup4u2007@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for your replies.<br>
<br>
Here is my requirement.<br>
<br>
We are developing an application where we can interact with Guvnor using<br>
REST API. We will use this application only to manage rules not the Guvnor.<br>
Now is there any way to validate the rules or validate the whole package as<br>
we do in Guvnor while building the package? For now I have created few<br>
methods to check the syntax errors in a rule. But I need drools based<br>
validation. like validating a rule depending on it&#39;s Pojo model, validating<br>
import and global, rule condition and action parts etc. just as we do in IDE<br>
by clicking validate.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-rule-validation-using-Java-Code-tp4021291p4021329.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-rule-validation-using-Java-Code-tp4021291p4021329.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>
</blockquote></div>