<div dir="ltr">If you consider Drools Expert (the core engine) as a component, then certainly, yes, it can be integrated into a system that both utilizes persistence and communicates via web services in various ways respectively. As for working examples, I&#39;m of the opinion that would be stretching the point of the mailing list, as these aren&#39;t concerns specific to Drools. Baking in these functionalities makes no sense (kitchen sink mentality, SoC) and providing examples of these would be to try and teach you fundamentals of architectural and enterprise design. This is akin to asking a car engine manufacturer how to create a steering mechanism and 6-passenger cabin, and provide examples of each. There are various approaches (patterns) that suit different needs, but none tie directly to the car engine.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 2:13 AM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@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"><p>Firstly a correction.</p>
<p>Drools &quot;rule engine&quot; otherwise known as Drools Expert does not use JCR by default. Guvnor (Drools rule authoring and management web applicafion) does use JCR as its persistent store. JCR is better thought of as a hierarchical data store than a (R)DBMS.</p>


<p>That said Drools Expert can access databases and web services with the assistance of helper classes and the &quot;from&quot; keyword. The user guide will give fuller details.</p>
<p>That said you are also free to retrieve Facts for insertion into Drools Expert from where- and however you like.</p>
<p>sent on the move</p><div class="HOEnZb"><div class="h5">
<p>On 14 Feb 2013 07:34, &quot;starfish15&quot; &lt;<a href="mailto:pooja.ghosh@accenture.com" target="_blank">pooja.ghosh@accenture.com</a>&gt; wrote:<br type="attribution"></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello All,<br>
<br>
I am starting up on a project which requires Drools rules. I have been asked<br>
certain basic Q&#39;s. Am jotting them below<br>
<br>
1. *Can the Drools Rule engine communicate to a DB *<br>
<br>
I know by default, drools does use the *Apache JackRabbit DB* to store<br>
respective assets and there are means to use other DBs as well. Not sure<br>
what else this Q could mean. So would really appreciate if some light can be<br>
thrown on this. What else things which could be achieved through the rules<br>
and DB connection<br>
<br>
2. *Can the Drools Rule engine do web service calls to other system*<br>
<br>
I am not sure if this can be achieved through Drools. Would appreciate if<br>
some assistance could be provided on this and some working examples as well<br>
if this can actually be achieved.<br>
<br>
Regards,<br>
starfish<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Query-on-web-services-and-database-stuff-tp4022294.html" target="_blank">http://drools.46999.n3.nabble.com/Query-on-web-services-and-database-stuff-tp4022294.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" 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>
</blockquote><p></p>
</div></div><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><br></div>