BSF Essentials
Download
Jakarta
Get Involved
|
Bean Scripting Framework
|
Bean Scripting Framework (BSF) is a set of Java classes which provides scripting
language support within Java applications, and access to Java
objects and methods from scripting languages. BSF allows one to
write JSPs in languages other than Java while providing access to the Java
class library. In addition, BSF permits any Java application to be implemented
in part (or dynamically extended) by a language that is embedded within it.
This is achieved by providing an API that permits calling scripting
language engines from within Java, as well as an object registry that exposes
Java objects to these scripting language engines.
|
Supported Languages
|
BSF supports several scripting languages currently:
-
Javascript (using Rhino ECMAScript, from the Mozilla project)
-
Python (using either Jython or JPython)
-
Tcl (using Jacl)
-
NetRexx (an extension of the IBM REXX scripting language in Java)
-
XSLT Stylesheets (as a component of Apache XML project's Xalan and Xerces)
In addition, the following languages are supported with their own BSF
engines:
-
Java (using BeanShell, from the BeanShell project)
-
JLog
-
JRuby
-
JudoScript
-
Groovy
-
ObjectScript
-
Open Object Rexx (ooRexx), using
the BSF Rexx
engine for BSF, and the precompiled JNI-interface BSF4Rexx .DLL
(Windows) or .so (Linux) file together with the ooRexx wrapper class
'BSF.CLS', which camouflages Java as ooRexx.
Information on where to obtain scripting languages for use with BSF is
available on the Related Projects page.
|
Documentation
|
You can view the documentation for the current release (Jakarta BSF 2.3)
online
Documentation and examples are included in the source and binary distributions.
|
Latest Release
|
You can download the latest release:
-
Download the binary release
-
Download the source release
-
Download source or binary RPMs
|
Nightly Builds
|
If you wish to use the latest BSF features, you can try downloading a nightly
build from here
|
Towards BSF 3.0
|
We are beginning to discuss design details for BSF 3.0. Please
read the latest BSF news for more details.
|
|