Skip to content
Mahmoud Ben Hassine edited this page May 30, 2017 · 13 revisions

About this wiki

Welcome to easy rules wiki! This wiki contains documentation for the upcoming version 3.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

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.