This document discusses using rule engines to build business rule applications for enterprises. It provides examples of using JESS and Drools rule engines in Java applications. Key points covered include:
- Benefits of using a rule engine include declarative development, separation of business logic from code, performance, centralized management of business logic, and readable rule definitions.
- The Rete algorithm is commonly used in rule engines to efficiently match rules against working memory. Open source rule engines like Drools and commercial ones like IBM ILOG are available.
- JESS is an open source rule engine that can be used in Java applications. It uses a Lisp-like syntax and the Rete algorithm. Rules, templates, and functions