BeanShell is a small, free, embeddable, Java source interpreter with
object scripting language features, written in Java. BeanShell executes
standard Java statements and expressions, in addition to obvious
scripting commands and syntax. BeanShell supports scripted objects as
You can use BeanShell interactively for Java experimentation and
debugging or as a simple scripting engine for your applications. In
short: BeanShell is a dynamically interpreted Java, plus some useful
stuff. Another way to describe it is to say that in many ways BeanShell
is to Java as Tcl/Tk is to C: BeanShell is embeddable - You can call
BeanShell from your Java applications to execute Java code dynamically
at run-time or to provide scripting extensibility for your applications.
Alternatively, you can call your Java applications and objects from
BeanShell; working with Java objects and APIs dynamically. Since
BeanShell is written in Java and runs in the same space as your
application, you can freely pass references to "real live" objects into
scripts and return them as results.
-- This is BeanShell --
For update and documentation see
-- JDK Versions and Building the Source --
BeanShell is designed to work with versions of Java 1.1 and greater but
some features will not be available with versions prior to 1.3.
For exaple, the file XThis.java is a module loaded only when bsh is run under
JDK1.3 or greater. It makes use of certain featur
<head><title>BeanShell - Change Log</title></head>
<h2>Changes in 1.3 beta 2</h2>
- Rounded out reserved Java keywords. Added: "strictfp", "implements",
"extends", "package", and the new Java 1.5 keyword "enum". strictfp
is now accepted as a modifier and ignored. The rest are not supported
- Properties style auto-allocation of variables.