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

About this wiki

Welcome to easy rules wiki! This wiki contains documentation for the upcoming version 3.x.

❗️❗️ v3 is a major version that is currently in beta testing. Documentation in this wiki should be used with version 3.0.0-SNAPSHOT. Please refer to the getting started section for more details about how to use it.

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.