Reputation: 1196
I have a JAVA application which using drools rules.I need create a similar application in .NET. Can i use same drools rule file in .NET application?. If it need to be converted ,Is there any automated way to achieve it?
Upvotes: 1
Views: 4010
Reputation: 9480
Drools is a Java application, and there is no port that would enable you to re-use DRL in a .NET application.
If you want to re-use your knowledge base, then you should expose it as a web service and call that from your .NET application.
Upvotes: 3
Reputation: 461
A quick google search found this - http://droolsdotnet.codehaus.org/, the key bit here seems to be:
Drools.NET is a Business Rules Engine (BRE) based on Charles Forgy's Rete algorithm. Developers can now exploit a powerful Rule Engine through a completely managed .NET code base! Drools.NET is based on Jboss Rules, and comes with all the features of that Rules Engine.
So I would guess this might be what you are after from the point of view of using any existing rules and definitions - I'm assuming you'll be rewriting the code itself regardless.
Upvotes: 2