O'Reilly logo

Jess in Action: Rule-Based Systems in Java by Ernest Friedman-Hill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required