Rule engines for java application

不羁岁月 提交于 2019-12-05 05:35:54

问题


i want to use some rule engines for my application which is in java. so can you suggest some good rule frameworks?


回答1:


  • JESS
  • Drools
  • "Top 10 Java Business Rule Engines"



回答2:


DROOLS is the first one that pops into my mind...

There are probably more of those out there, but I would not know as I have next to no experience with 3rd party rule engines...

OTOH: Depending on the complexity of your task, you can also roll your own by including any number of scripting languages and providing their execution environments

Clojure is probably a good match if you need to be able to define your rules in a semi-declarative syntax (that it has from it's Lisp heritage)

Groovy has a more natural syntax for an average Java programmer, so it is also a good choice...

And finally, if you know your domain well enough, or if the task is not too complex, you can easily roll your own.

I would suggest trying XText to define your rule syntax and generate EMF models of the rules domain and make an engine yourself. XText can even generate you a full blown Eclipse text editor plug-in for your syntax with syntax highlighting, outline, intellisense auto-complete and all the other goodies you'd expect from an IDE text editor...




回答3:


WebSphere ILOG JRules BRMS (by IBM)



来源:https://stackoverflow.com/questions/2070333/rule-engines-for-java-application

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