<div dir="ltr">Hi Leo,<br><br>I use the Drools API to interact with the JCR with I expose over RMI. I have the security on Jackrabbit, so I log into the JCR, not BRMS. But once the session is established I use the org.drools.repository.RulesRepository to work with BRMS artifcacts as opposed to JCR ones.<br>
<br>hope that makes sense,<br><br>dave<br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 3:48 PM, Leonardo Figueiredo <span dir="ltr">&lt;<a href="mailto:leo.lists@gmail.com">leo.lists@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi David,<div><br></div><div>You mean going around Drools Api and acessing the JCR directly?</div>
<div><br></div><div>I really wanted the BRMS to expose an interface to add things. That would provide more security on upgrading versions without breaking functionality.</div>
<div><br></div><div>Regards,</div><div>Leo</div><div><div></div><div class="Wj3C7c"><div><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 11:58 AM, David Sinclair <span dir="ltr">&lt;<a href="mailto:dsinclair@chariotsolutions.com" target="_blank">dsinclair@chariotsolutions.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Guys, <br><br>I use the Drools API over RMI. Jackrbait provides an RMI implementation to manipulate the JCR, and the Drools RulesRepository class works with an open JCR session object. Really is a pieice of cake; that is if an RMI solution is ok with you. You can always go RMI over HTTP too.<br>


<br>dave<div><div></div><div><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 2:43 AM, Asif Akram <span dir="ltr">&lt;<a href="mailto:asif.akram@imperial.ac.uk" target="_blank">asif.akram@imperial.ac.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Leo,<br>
<br>
 &nbsp; &nbsp;Thanks for your reply. You are absolutely correct, I was talking about API to upload rules, either using Restlet API or WebDav Client API or Drools API. I have read the article mentioning the support for Restlet Web Services and Webdav but haven&#39;t seen any such example yet. If only Drools Guvnor supports such features, I am fine with Drools 5.0.<br>



<br>
Leo, it will be be nice of you if you can share your homemade customized Servlet. Your sharing of ideas and experience will be appreciated.<br>
<br>
Cheers<br>
Asif<br>
<br>
<br>
Leonardo Figueiredo wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Hi,<br>
<br>
You mean using an api to add rules to the BRMS? If so i have the same problem. I am using an &quot;homemade&quot; build that have a custom Servlet that allows me to pass an DRL to be added to the BRMS.<br>
<br>
I am still searching for a better solution.<br>
<br>
<br>
Regards,<br>
Leo<br>
<br>
<br>
<br></div><div>
On Wed, Oct 1, 2008 at 7:00 AM, Asif Akram &lt;<a href="mailto:asif.akram@imperial.ac.uk" target="_blank">asif.akram@imperial.ac.uk</a> &lt;mailto:<a href="mailto:asif.akram@imperial.ac.uk" target="_blank">asif.akram@imperial.ac.uk</a>&gt;&gt; wrote:<br>



<br>
 &nbsp; &nbsp;Hi,<br>
<br>
 &nbsp; &nbsp; &nbsp;I was wondering if it is possible to create and upload rules at<br>
 &nbsp; &nbsp;runtime to BRMS to be accessed by other users. I have only seen<br>
 &nbsp; &nbsp;the examples where existing packages/rules are loaded from the<br>
 &nbsp; &nbsp;BRMS. Any help and suggestion will be appreciated.<br>
<br>
 &nbsp; &nbsp;Cheers<br>
 &nbsp; &nbsp;Asif<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<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>
 &nbsp;<br>
</blockquote>
<br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by WATEEN TELECOM, and is<br>
believed to be clean.<br>
<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></div><br></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></div></div></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>
<br></blockquote></div><br></div>