Open Source Rule Engine Written in Java

大憨熊 提交于 2019-12-04 12:12:19

问题


I am working on an AI related application. For this application I need to have a rule engine. Jess is a good rule engine completely written in Java. But for my application I can’t use it due to license restrictions.

Can somebody tell me an open source rule engine written in Java?


回答1:


An open source off the shelf rules engine might be complete overkill for your application, I've used Drools before and it's pretty heavyweight, you'll also need to understand the framework before you use it - with Drools it's not too bad, but it might be more appropriate to write your own DSL rules engine in something like Scala/Groovy/JRuby.

There's an interesting article here that talks about building a Groovy based rules engine:

http://www.pleus.net/articles/grules/grules.pdf

Work out what suits you best from these options and go from there.




回答2:


Drools is a prominent open-source Java rules engine, and it uses ASL2 licensing. I haven't used it personally, but some colleagues of mine have used it successfully on a few different projects.




回答3:


Drools is by far the most feature loaded and extensible, it has a lot of production implementations too. It is ASL2 as said in the previous post.



来源:https://stackoverflow.com/questions/2130199/open-source-rule-engine-written-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!