Skip to content
Mahmoud Ben Hassine edited this page Dec 6, 2020 · 13 revisions

About this wiki

Welcome to easy rules wiki! This wiki contains documentation for version 4.x.

What is Easy Rules

Easy Rules is a simple yet powerful Java rules engine providing the following features:

  • Lightweight framework and easy to learn API
  • POJO based development
  • Useful abstractions to define business rules and apply them easily
  • The ability to create composite rules from primitive ones
  • The ability to define rules using an Expression Language (Like MVEL, SpEL and JEXL)

In a very interesting article about rules engines, Martin Fowler says:

You can build a simple rules engine yourself. All you need is to create a bunch of objects with conditions and actions, store them in a collection, and run through them to evaluate the conditions and execute the actions.

This is exactly what Easy Rules does, it provides the Rule abstraction to create rules with conditions and actions, and the RulesEngine API that runs through a set of rules to evaluate conditions and execute actions.