beansh
(1)
Name
beansh - BeanShell, a small and embeddable Java
source interpreter
Synopsis
beansh | beanshell [-g] [BeanShell Script]
Description
Misc. Reference Manual Pages BeanShell(2.0b4)
NAME
beansh | beanshell - BeanShell, a small and embeddable Java
source interpreter
SYNOPSIS
beansh | beanshell [-g] [BeanShell Script]
DESCRIPTION
BeanShell is a small, free, embeddable Java source inter-
preter with object scripting language features, written in
Java. BeanShell dynamically executes standard Java syntax
and extends it with common scripting conveniences such as
loose types, commands, and method closures like those in
Perl and JavaScript.
You can use BeanShell interactively for Java experimentation
and debugging as well as to extend your applications in new
ways. Scripting Java lends itself to a wide variety of
applications including rapid prototyping, user scripting
extension, rules engines, configuration, testing, dynamic
deployment, embedded systems, and even Java education.
BeanShell is small and embeddable, so you can call BeanShell
from your Java applications to execute Java code dynamically
at run-time or to provide extensibility in your applica-
tions. Alternatively, you can use standalone BeanShell
scripts to manipulate Java applications; working with Java
objects and APIs dynamically. Since BeanShell is written in
Java and runs in the same VM as your application, you can
freely pass references to "live" objects into scripts and
return them as results.
In short, BeanShell is dynamically interpreted Java, plus a
scripting language and flexible environment all rolled into
one clean package.
For additional information on using BeanShell, browse the
complete documentation at:
file:/usr/share/lib/java/javadoc/beanshell/index.html
OPTIONS
-g Start in graphics mode. Command-line
mode by default.
BeanShell Script. Use pre-written BeanShell script.
SunOS 5.11 Last change: 3 Jun 2009 1
Misc. Reference Manual Pages BeanShell(2.0b4)
LICENSE
Sun Public License 1.0
FILES
/usr/bin/beansh /usr/bin/beanshell
Command to start BeanShell.
/usr/share/lib/java/javadoc/beanshell/index.html
API documentation generated with javadoc.
/usr/share/doc/beanshell/bshcommands-bshdoc.xml
Auto-generated command documentation.
/usr/share/lib/java/bsh-2.0b4.jar
BeanShell 2.0b4 jar file. This jar contains all of the
other jar files listed below.
/usr/share/lib/java/bsh-core-2.0b4.jar
Core interpreter only - The minimal footprint, inter-
preter only.
/usr/share/lib/java/bsh-classgen-2.0b4.jar
BeanShell class generation - Adds the ability for Bean-
Shell to script full Java classes and interpret stan-
dard Java code.
/usr/share/lib/java/bsh-commands-2.0b4.jar
Shell commands - adds useful beanshell shell commands
to the core package.
/usr/share/lib/java/bsh-util-2.0b4.jar
BeanShell utilities - Adds misc. utilities used by
other packages and commands.
/usr/share/lib/java/bsh-classpath-2.0b4.jar
BeanShell classpath management - Adds class reloading
and classpath capabilities to the core package.
Requires Java 1.2 or greater to activate.
/usr/share/lib/java/bsh-reflect-2.0b4.jar
BeanShell reflective accessibility - Adds the ability
for BeanShell to access private/protected fields,
SunOS 5.11 Last change: 3 Jun 2009 2
Misc. Reference Manual Pages BeanShell(2.0b4)
methods, and non-public classes (subject to any Java
runtime security). Requires Java 1.2 or greater to
activate.
/usr/share/lib/java/bsh-bsf-2.0b4.jar
Apache/IBM Bean Scripting Framework (BSF) Adapter for
BeanShell - This is the necessary adapter for BeanShell
to be used with BSF.
/usr/demo/bsh/webapps/bshservlet.war
/usr/demo/bsh/webapps/bshservlet-wbsh.war
A small test servlet and webapp example for BeanShell.
Here are two versions - one that comes with the Bean-
Shell JAR included in the WAR file and one that expects
the BeanShell JAR to be in the app server's classpath.
ATTRIBUTES
See attributes(5) for descriptions of the following
attributes:
+---------------+------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+------------------------+
|Availability | runtime/java/beanshell |
+---------------+------------------------+
|Stability | Uncommitted |
+---------------+------------------------+
NOTES
This software was built from source available at
https://java.net/projects/solaris-userland. The original
community source was downloaded from /
Further information about this software can be found on the
open source community website at http://www.beanshell.org/.
SunOS 5.11 Last change: 3 Jun 2009 3