Skip to content
Rohin Gosling edited this page Jul 22, 2026 · 6 revisions

Stateless ECA Rule Engine

Java TypeScript React PDF

ECA Rule Engine Model Laboratory

The Stateless ECA Rule Engine is an implementation of the minimal event-condition-action model defined in the technical note. It includes a browser-local model laboratory and a Java reference implementation.

An event occurrence contains an event and an optional payload. Conditions examine that occurrence through a fixed predicate. Rules connect events and conditions to symbolic actions. Evaluation returns the unique action identified by the matching rules, or no action when no rule matches.

The model has no priority system. When matching rules identify distinct actions, the current occurrence and rule set lie outside the query domain. This makes ambiguity explicit rather than resolving it through declaration order.

Implementations

  • The Model Laboratory creates, validates, visualizes, and evaluates models entirely in the browser.
  • The Java Reference supplies a pure evaluator, model compiler, command-line interface, and optional HTTP adapter.
  • The JSON Contracts define the shared serialized model and conformance cases.

Mathematical foundation

Clone this wiki locally