concept BeanShell in category system administration

appears as: BeanShell, BeShell
Open Source SOA

This is an excerpt from Manning's book Open Source SOA.

In jBPM, you can define handlers using a Java class either by identifying its full path location or by embedding a script in the form of a BeanShell within the body of the process definition. When we specify “class,” we mean it to be synonymous with either a Java class or BeanShell script (which, after all, is interpreted into a Java class at runtime).

BeanShell was one of the earliest Java scripting implementations and recently has initiated the Java Community Process to become JSR-standards compliant. Having enjoyed fairly wide support, BeanShell is included in a variety of applications as a lightweight scripting alternative to Java (visit the official web site, http://www.beanshell.org/, for more details). The syntax and usage closely mirror that of standard Java, so Java developers can generally pick it up quickly. Table 7.1 identifies the various places in jBPM’s jPDL where BeanShell scripts can be used.