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