Chapter 5. Scripting Java with Jess

In this chapter you’ll...

  • Create Java objects
  • Call Java methods
  • Access Java member data
  • ... all from the Jess language

Arguably, the most powerful features of Jess are those that allow it to be easily integrated with Java. From Java code, you can access all parts of the Jess library, so that it’s very easy to embed Jess in any Java application, servlet, applet, or other system. Likewise, from the Jess language, the full power of Java is directly available. This capability is shown schematically in figure 5.1.

Figure 5.1. You can use Jess from Java, and call Java methods from Jess.

We’ll discuss embedding ...

Get Jess in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.