Prasanth V J
Prasanth V J

Reputation: 1196

Can we use JAVA based drools rules in .NET

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

Answers (2)

Steve
Steve

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

Jon Malcolm
Jon Malcolm

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

Related Questions