Re: [rules-users] Drools Java and .Net

2011-02-03 Thread Corneil du Plessis
homas -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users- boun...@lists.jboss.org] On Behalf Of FrankVhh Sent: 02 February 2011 08:41 To: rules-users@lists.jboss.org Subject: Re: [rules-users] Drools Java and .Net Hi all, Thanks for your inputs. As you suggested,

Re: [rules-users] Drools Java and .Net

2011-02-02 Thread FrankVhh
Hi all, I figured out how to get it working. This might be interesting to some of the forum visitors, so I will post the brief solution here. 1. Write your Drools application in java "as usual" (see documentation :-) 2. Export your java code as a runnable jar-file. 3. Using ikvmc from IKVM/bin,

Re: [rules-users] Drools Java and .Net

2011-02-02 Thread FrankVhh
Hi all, Thanks again for your replies. I converted drools-compiler.jar to drools-compiler.dll and imported this into .NET. Problem might be that this compiles with an incredibly long list of warnings. This might explain the malfunctioning. There are 2 main questions that I am posing at this poi

Re: [rules-users] Drools Java and .Net

2011-02-02 Thread Salaboy
Are you including drools-compiler as a dependency? Greetings! - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jbug.com.ar - Mauricio "Salaboy" Salatino - On 02/02/2011, at 05:40, FrankVhh wrote: > > Hi all, > > Thanks for your inputs. As y

Re: [rules-users] Drools Java and .Net

2011-02-02 Thread Swindells, Thomas
them at all! Thomas > -Original Message- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.org] On Behalf Of FrankVhh > Sent: 02 February 2011 08:41 > To: rules-users@lists.jboss.org > Subject: Re: [rules-users] Drools Java and .Net &

Re: [rules-users] Drools Java and .Net

2011-02-02 Thread FrankVhh
Hi all, Thanks for your inputs. As you suggested, this week I tried to use IKVM to make Drools and .NET work together. Converting the Java implementation of drools to dll, importing dll into .NET and calling the java functions isn't that hard, once you are a little bit familiar with ikvm. No syn

Re: [rules-users] Drools Java and .Net

2011-01-31 Thread Corneil du Plessis
We have successfully used IKVM to create a dlls for our Drools application. The performance was a bit slower on IKVM/.Net as in Sun Java 5. We dynamically load a large number of rules and found the largest impact is to the 'load time' The performance impact was not such that it would make a ne

Re: [rules-users] Drools Java and .Net

2011-01-25 Thread Michael Anstis
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 2011/1/25 Diego López León > Frank, > you can tr

Re: [rules-users] Drools Java and .Net

2011-01-25 Thread Diego López León
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

Re: [rules-users] Drools Java and .Net

2011-01-25 Thread FrankVhh
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 performa

Re: [rules-users] Drools Java and .Net

2011-01-19 Thread Mauricio Salatino
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 > Hi, > > I believe the .NET implementation of Drools is somewhat out dated. > > However Drools ticks all your oth

Re: [rules-users] Drools Java and .Net

2011-01-19 Thread Michael Anstis
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) > We are looking for a rules engine that has the following characteristics. > > > > 1. Supports both

[rules-users] Drools Java and .Net

2011-01-19 Thread Gorantla, Bhaskar (GE Capital)
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