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
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,
RulesEngine API that runs through a set of rules to evaluate conditions and execute actions.