There are implementations of JNI available too, that support the invocation of Java code from .NET.<br><br>These bridges would (should) work but I have no experience of their use.<br><br>Google for &quot;java .net jni&quot; shows some options.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">2011/1/25 Diego López León <span dir="ltr">&lt;<a href="mailto:dieguitoll@gmail.com">dieguitoll@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Frank,<br>
you can try the IKVM project from Mono[0].<br>
&gt;From their site:<br>
&quot;Mono is able to run Java code side-by-side with .NET as well as<br>
having Java and .NET object interoperate with each other&quot;<br>
<br>
Let us know if that worked.<br>
<br>
Regards.<br>
<br>
[0]:<a href="http://www.mono-project.com/Java" target="_blank">http://www.mono-project.com/Java</a><br>
<div><div></div><div class="h5"><br>
On Tue, Jan 25, 2011 at 12:04 PM, FrankVhh<br>
&lt;<a href="mailto:frank.vanhoenshoven@agserv.eu">frank.vanhoenshoven@agserv.eu</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; Suppose that you have a rule engine that needs to be embedded on the machine<br>
&gt; and that there is no way to call the rules as a service from a centralized<br>
&gt; server, what approach would one have to choose to make Drools and .NET work?<br>
&gt;<br>
&gt; The rulke engine will have to be cached to improve performance, so that<br>
&gt; part, until there is an up-to-date version of Drools.NET, has to be in Java<br>
&gt; anyway. Then you expose your JAVA code as a (local) service and let .NET<br>
&gt; call it? Or am I seeing things wrong here?<br>
&gt;<br>
&gt; I must stipulate that I am not an expert in .NET at all, and I know only<br>
&gt; barely enough Java to get Drools working :-).<br>
&gt;<br>
&gt; Thanks for your help.<br>
&gt;<br>
&gt; Kind regards,<br>
&gt; Frank<br>
&gt;<br>
&gt;<br>
&gt; salaboy wrote:<br>
&gt;&gt;<br>
&gt;&gt; Yes, and if you want to use the rule engine from .NET you can use the<br>
&gt;&gt; Drools<br>
&gt;&gt; Server that expose the Drools Runtime in REST and SOAP interfaces :)<br>
&gt;&gt; Greetings.<br>
&gt;&gt;<br>
&gt;&gt; 2011/1/19 Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I believe the .NET implementation of Drools is somewhat out dated.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; However Drools ticks all your other requirements.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; With kind regards,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mike<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2011/1/19 Gorantla, Bhaskar (GE Capital) &lt;<a href="mailto:bhaskar.gorantla@ge.com">bhaskar.gorantla@ge.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; We are looking for a rules engine that has the following<br>
&gt;&gt;&gt;&gt; characteristics.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 1.       Supports both Java and .net<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 2.       Provides a business user friendly UI for creating/editing rules<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 3.       Supports versioning<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 4.       The rues in the rules repository are accessible to both Java<br>
&gt;&gt;&gt;&gt; and<br>
&gt;&gt;&gt;&gt; .net applications – Nice to have<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Do you know whether Drools supports all the above?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; rules-users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; rules-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;  - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a><br>
&gt;&gt;  - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
&gt;&gt;  - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
&gt;&gt;<br>
&gt;&gt;  - Salatino &quot;Salaboy&quot; Mauricio -<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Java-and-Net-tp2290536p2330462.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Java-and-Net-tp2290536p2330462.html</a><br>

&gt; Sent from the Drools - User mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">diego<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>