This release of BSF is basically a maintenance release. Minor changes were made in many difference places, but no significant functional changes were made. All the included engines have been shown to work with the latest versions of their respective language libraries, and all the samples have been brought up to date. See here for a more detailed change history.
The Bean Scripting Framework (BSF) is an architecture for incorporating scripting into, and enabling scripting against, Java applications and applets. Using BSF, an application can use scripting, and become scriptable, against any BSF-supported language. When BSF supports additional languages, the application will automatically support the additional languages. Scripts in any BSF-supported language can be run directly on the command line as well.
This distribution contains the necessary components to include BSF-support in your application, and to enable you to employ BSF from the command-line.
You need the following entries on your classpath:
bsf.jar
from the lib
directory
of this distributionNote: If you are using Win32 ActiveScript engines, you need to have ...\bsf-2_2\lib\win32 on your path.
Please see the readme file included with each of the samples for information on how to run them.
Please see the BSF User's Guide for information on incorporating BSF into your application.
Language | Version | Dependencies |
Mozilla Rhino | 1.5 R1 | js.jar available from http://www.mozilla.org/rhino |
NetRexx | 2.00 | NetRexxC.jar available from http://www2.hursley.ibm.com/netrexxNote: If using JDK1.2.*, you also need tools.jar on your classpath. |
JPython | 1.1 | jpython.jar available from http://www.jpython.org/ |
Jacl | 1.2.6 | jacl.jar and tcljava.jar
from http://www.scriptics.com/java |
Xalan (XSLT) | 1.2.2 | xalan.jar available from http://xml.apache.org/xalan |
Win32 ActiveScript langs: JScript, VBScript | MSVCP60.DLL from Microsoft, appropriate
language DLLs from http://msdn.microsoft.com/scripting |
|
Win32 ActiveScript langs: PerlScript | MSVCP60.DLL from Microsoft, ActivePerl
from http://www.activestate.com/ |
Please see the developerWorks BSF site at Bean Scripting Framework.