encyclopegia.org

Jess (programming language)

Jess is a rule engine for the Java computing platform, written in the Java programming language. It was developed by Ernest Friedman-Hill of Sandia National Laboratories. It is a superset of the CLIPS language. It was first written in late 1995. The language provides rule-based programming for the automation of an expert system, and is often termed as an expert system shell. In recent years, intelligent agent systems have also developed, which depend on a similar ability. Rather than a procedural paradigm, where one program has a loop that is activated only one time, the declarative paradigm used by Jess applies a set of rules to a set of facts continuously by a process named pattern matching. Rules can modify the set of facts, or can execute any Java code. It uses the Rete algorithm to execute rules.

Jess is a rule engine for the Java computing platform, written in the Java programming language. It was developed by Ernest Friedman-Hill of Sandia National Laboratories. It is a superset of the CLIPS language. It was first written in late 1995. The language provides rule-based programming for the automation of an expert system, and is often termed as an expert system shell. In recent years, intelligent agent systems have also developed, which depend on a similar ability. Rather than a procedural paradigm, where one program has a loop that is activated only one time, the declarative paradigm used by Jess applies a set of rules to a set of facts continuously by a process named pattern matching. Rules can modify the set of facts, or can execute any Java code. It uses the Rete algorithm to execute rules. ==License== The licensing for Jess is freeware for education and government use, and is proprietary software, needing a license, for commercial use. In contrast, CLIPS, which is the basis and starting code for Jess, is free and open-source software. ==Code examples== Code examples: is a comment (bind ?x 100) x = 100 (deffunction max (?a ?b) (if (> ?a ?b) then ?a else ?b)) (deffacts myroom (furniture chair) (furniture table) (furniture bed) ) (deftemplate car (slot color) (slot mileage) (slot value) ) (assert (car (color red) (mileage 10000) (value 400))) Sample code: (clear) (deftemplate blood-donor (slot name) (slot type)) (deffacts blood-bank ; put names & their types into working memory (blood-donor (name "Alice")(type "A")) (blood-donor (name "Agatha")(type "A")) (blood-donor (name "Bob")(type "B")) (blood-donor (name "Barbara")(type "B")) (blood-donor (name "Jess")(type "AB")) (blood-donor (name "Karen")(type "AB")) (blood-donor (name "Onan")(type "O")) (blood-donor (name "Osbert")(type "O")) ) (defrule can-give-to-same-type-but-not-self ; handles A > A, B > B, O > O, AB > AB, but not N1 > N1 (blood-donor (name ?name)(type ?type)) (blood-donor (name ?name2)(type ?type2 &:(eq ?type ?type2) &: (neq ?name ?name2) )) => (printout t ?name " can give blood to " ?name2 crlf) ) (watch all) (reset) (run) ==See also== Semantic reasoner Decision Model and Notation ===Related systems=== CLIPS: public-domain software tool to build expert systems ILOG rules: business rule management system JBoss Drools: business rule management system (BRMS) Prolog: general purpose logic programming language OpenL Tablets: business centric rules and BRMS DTRules: decision table based, open-source rule engine for Java ==References== ===Further sources=== ==External links==

References

  1. a b c d e Hemmer, Markus C. (2008). Expert Systems in Chemistry Research . CRC Press. pp. 47– 48. ISBN 9781420053241 . Retrieved March 30, 2012 . ISBN 978-1-4200-5323-4 Wikipedia revision 1351473280, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1351473280
    Cite this reference

    MLA "a b c d e Hemmer, Markus C. (2008). Expert Systems in Chemistry Research . CRC Press. pp. 47– 48. ISBN 9781420053241 . Retrieved March 30, 2012 . ISBN 978-1-4200-5323-4 Wikipedia revision 1351473280, retrieved 2026-11-20." a b c d e Hemmer, Markus C. 2026-11-19. https://books.google.com/books?id=KepsLbpWe-0C&dq=Jess%2C+Java&pg=PA47. Accessed 25 November 2026.

    Chicago "a b c d e Hemmer, Markus C. (2008). Expert Systems in Chemistry Research . CRC Press. pp. 47– 48. ISBN 9781420053241 . Retrieved March 30, 2012 . ISBN 978-1-4200-5323-4 Wikipedia revision 1351473280, retrieved 2026-11-20." a b c d e Hemmer, Markus C. 2026-11-19. https://books.google.com/books?id=KepsLbpWe-0C&dq=Jess%2C+Java&pg=PA47.

    APA a b c d e Hemmer, Markus C. (2026). a b c d e Hemmer, Markus C. (2008). Expert Systems in Chemistry Research . CRC Press. pp. 47– 48. ISBN 9781420053241 . Retrieved March 30, 2012 . ISBN 978-1-4200-5323-4 Wikipedia revision 1351473280, retrieved 2026-11-20. Retrieved November 25, 2026, from https://books.google.com/books?id=KepsLbpWe-0C&dq=Jess%2C+Java&pg=PA47

Cite this article

MLA

"Jess (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/jess-programming-language. Accessed 25 November 2026.

Chicago

"Jess (programming language)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/jess-programming-language.

APA

encyclopegia.org. (2026). Jess (programming language). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/jess-programming-language

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

Category:Programming languages

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1351473280 · 0.5 · snapshot enwiki-001351473280

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.