Jess Information

Jess Home
Jess 7 Features
Download Now!
Online Demo

Mailing List
Jess Wiki

More information Related Web Sites
User Contributions
JSR94 Info
Developer's Log
About This Site

JESS ®, the Rule Engine for the JavaTM Platform

Jess Wiki: Jess Snippets


My intention here is not to regurgitate Ernest's great documentation, but rather to provide a bunch of simple examples to Jess users of all levels. Please feel free to contribute anything that you think would help. All examples are welcome. I am aiming for a "Jess Cookbook" format.

A great example of this format can be found at


How Do I Use... Description
BasicPatternMatching A collection of basic pattern matching schemes and templates with notes.
AdvancedPatternMatching More sophisticated examples of constraining on slot values.
UsingTestConditionalElements Examples of correctly using the (test) CE.
PatternBindings Examples of how to get the most from pattern bindings.
WorkingWithDates Examples of how to represent and work with dates.
UsingRegularExpressions How to combine constraints with Java RegExp to build awesome LHS for your rules.
InputOutputExamples Examples of how to allow Jess to communicate with the outside world and vice versa.
UserFunctionExamples How to create various user-defined functions in Jess.
ConflictResolutionStrategyExample A simple conflict resolution strategy code example
UsingJessWithJava5 Some ideas for using Jess with Tiger features
SimpleCountProgram Demonstrate rule and bind
MultiRuleProgram Demonstrate one rule triggering another, and implied and literal deftemplates
YourTopicHere Feel free to keep adding topics!!

Front Page | Sandbox | Recent Changes | Powered by Friki | Last Edited: 09 November 2008