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 "java .net jni" 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"><<a href="mailto:dieguitoll@gmail.com">dieguitoll@gmail.com</a>></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>
>From their site:<br>
"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"<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>
<<a href="mailto:frank.vanhoenshoven@agserv.eu">frank.vanhoenshoven@agserv.eu</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> Suppose that you have a rule engine that needs to be embedded on the machine<br>
> and that there is no way to call the rules as a service from a centralized<br>
> server, what approach would one have to choose to make Drools and .NET work?<br>
><br>
> The rulke engine will have to be cached to improve performance, so that<br>
> part, until there is an up-to-date version of Drools.NET, has to be in Java<br>
> anyway. Then you expose your JAVA code as a (local) service and let .NET<br>
> call it? Or am I seeing things wrong here?<br>
><br>
> I must stipulate that I am not an expert in .NET at all, and I know only<br>
> barely enough Java to get Drools working :-).<br>
><br>
> Thanks for your help.<br>
><br>
> Kind regards,<br>
> Frank<br>
><br>
><br>
> salaboy wrote:<br>
>><br>
>> Yes, and if you want to use the rule engine from .NET you can use the<br>
>> Drools<br>
>> Server that expose the Drools Runtime in REST and SOAP interfaces :)<br>
>> Greetings.<br>
>><br>
>> 2011/1/19 Michael Anstis <<a href="mailto:michael.anstis@gmail.com">michael.anstis@gmail.com</a>><br>
>><br>
>>> Hi,<br>
>>><br>
>>> I believe the .NET implementation of Drools is somewhat out dated.<br>
>>><br>
>>> However Drools ticks all your other requirements.<br>
>>><br>
>>> With kind regards,<br>
>>><br>
>>> Mike<br>
>>><br>
>>> 2011/1/19 Gorantla, Bhaskar (GE Capital) <<a href="mailto:bhaskar.gorantla@ge.com">bhaskar.gorantla@ge.com</a>><br>
>>><br>
>>>> We are looking for a rules engine that has the following<br>
>>>> characteristics.<br>
>>>><br>
>>>><br>
>>>><br>
>>>> 1. Supports both Java and .net<br>
>>>><br>
>>>> 2. Provides a business user friendly UI for creating/editing rules<br>
>>>><br>
>>>> 3. Supports versioning<br>
>>>><br>
>>>> 4. The rues in the rules repository are accessible to both Java<br>
>>>> and<br>
>>>> .net applications – Nice to have<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Do you know whether Drools supports all the above?<br>
>>>><br>
>>>><br>
>>>><br>
>>>> Thanks<br>
>>>><br>
>>>><br>
>>>><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>
>>>><br>
>>><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>
>>><br>
>><br>
>><br>
>> --<br>
>> - CTO @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com</a><br>
>> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><br>
>> - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br>
>><br>
>> - Salatino "Salaboy" Mauricio -<br>
>><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>
>><br>
><br>
> --<br>
> 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>
> Sent from the Drools - User mailing list archive at Nabble.com.<br>
><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>
<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>