<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 10pt; color: #000000'>Oh!<div><br></div><div>I'm tempted to ask _why_ did anyone think that having a great web interface where you can create, test, store &amp; version (I would think that at least exposing and securing) business tulers simply should fall short of _executing_ said rules? &nbsp;If Guvnor (or some other component, I'm learning here) could help me outsource my business rules, I could use in no matter what platform/ language. All the java coders could embed it and the rest of us could just execute it.<div><br></div><div>But I won't ask :)</div><div><br></div><div>Instead let me rephrase my original question. What's the best way to setup a remote server, that can receive my data, go through the rules, and return a response? That does not involve java coding? drools-server?</div><div><br></div><div>Thanks,</div><div>Rubén<br><hr><b>De: </b>"Esteban Aliverti" &lt;esteban.aliverti@gmail.com&gt;<br><b>Para: </b>"Rules Users List" &lt;rules-users@lists.jboss.org&gt;<br><b>CC: </b>"Diego Fabian Lopez Ruiz" &lt;diego@lingo.mx&gt;<br><b>Enviados: </b>Viernes, 14 de Mayo 2010 12:09:35<br><b>Asunto: </b>Re: [rules-users] Drools5 in tomcat 5<br><br>Bad news! Guvnor doesn't execute the rules! It only acts as a repository! You can create your rules, test your rules and versioning them too, but if you want to execute them in a real business scenario, you have to code it. I know Drools already has some modules to do what you are trying to achieve, they are drools-pipeline (Which can use camel) or even drools-server (which is a simple servlet that executes commands). Unfortunately I'm not an expert on those modules, but you can always ask here for help.<div>

<br></div><div>Best,</div><div><br><div class="gmail_quote">2010/5/14 Rubén Marrero <span dir="ltr">&lt;<a href="mailto:ruben@lingo.mx" target="_blank">ruben@lingo.mx</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div style="font-family:Times New Roman;font-size:10pt;color:#000000">The idea is to use Guvnor as a REST-accessible BRMS.&nbsp;<div><br></div><div>We'll design, edit, test rules in guvnor, then execute them from the PHP web app in the background (with cURL or something ) or maybe we'll use proper webservices, as long as we can keep thing simple.&nbsp;</div>

<div><br></div><div>Since we are already using tomcat 5 as our reporting endpoint, we'd like to just add the guvnor as a web app, as long as guvnor can execute the rules we setup in the nice web interface and respond with a json package to a REST json request.</div>

<div><br></div><div>Guvnor _does_ execute rules, right? :-)</div><div><br></div><div>I'll try removing the jars you mention and then report back.</div><div><br></div><div>Thx,</div><div>Rubén<br><hr><b>De: </b>"Esteban Aliverti" &lt;<a href="mailto:esteban.aliverti@gmail.com" target="_blank">esteban.aliverti@gmail.com</a>&gt;<br>

<b>Para: </b>"Rules Users List" &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;<br><b>Enviados: </b>Viernes, 14 de Mayo 2010 6:49:53<br><b>Asunto: </b>Re: [rules-users] Drools5 in tomcat 5<div>

<div></div><div class="h5"><br><br>I didn't test Guvnor in Tomcat 5, but I did it in Tomcat 6. The only thing you need to do is to remove el-ri-xxx.jar and el-api-xxx.jar from Guvnors libraries (open the war file, browse to WEB-INF/lib and remove the files). This is because Tomcat already provides this libraries. That is the only thing I have to do when I want to use Guvnor deployed in a Tomcat.<div>



And remember that Drools is just a framework (a bunch of jars if you want), so you can use it everywhere: console app, desktop app, web app. Guvnor is a BRMS that you can use to create your rules, manage their life cycle and set as main repository (You can do more things too). It is important to make this&nbsp;distinction, maybe you just want to use drools expert/flow/fusion and not Guvnor.</div>



<div><br></div><div>Best, &nbsp;<br><br><div class="gmail_quote">2010/5/14 Rubén Marrero <span dir="ltr">&lt;<a href="mailto:ruben@lingo.mx" target="_blank">ruben@lingo.mx</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div style="font-family:Times New Roman;font-size:10pt;color:#000000">Hi all:<div><br></div><div>I want to add drools to a php application. Currently we are using Tomcat 5 to execute BIRT reports and works great.</div>



<div><br></div><div>We want to keep using Tomcat (this version in particular) and just drop the Drools WAR so to disturb as little as possible our current setup.</div><div><br></div><div>Is Tomcat 5 a supported platform to run Drools 5? any pointers to current docs?</div>



<div><br></div><div>Thanks in advance,</div><div>Rubén</div></div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>
<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>

</div></div></div></div></div><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>
<br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div></div></div></body></html>