Part 5. Reasoning about reality: the HVAC Controller
The applications you’ve written so far have been written entirely as Jess scripts. In much real software, however, the rule engine has to be integrated with existing Java code. In part 5, you’ll write some Java as well as Jess code, and in so doing, you’ll begin to learn about Jess’s Java APIs.
The HVAC Controller you’ll write is a soft real-time control system for the heating and cooling systems in an office building. We’ll look at how such a system can be interfaced to real hardware. You’ll write rules that react not just to ordinary facts in Jess’s working memory, but to shadow facts that are tied to JavaBeans; the JavaBeans will be wrappers around the HVAC interface software.
At the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access