This example is adapted from https://www.jessrules.com/jess/docs/71/memory.html It demonstrates the use of shadow facts, the emchanism through which your JESS expert system can interact with java objects