Scripting languages are supported in various JBoss.org projects and JBoss.com Enterprise Platforms and Frameworks, for example:
The ScriptingListener (via BSF)
The BSHDeployer (via BSH)
The jBPM script action. (via BSH)
The ScriptingAction in JBoss ESB and the SOA Platform (via BSF)
The GroovyActionProcessor in JBoss ESB and the SOA Platform (via Groovy)
BSF == The Bean Scripting Framework, a framework providing a common api to various pluggable scripting engines (BSH being one of them.)
BSH == BeanShell, a very Java-like scripting language (wiki page here)
-
In JBoss.org AS 4.2.3, the JBoss Enterprise Application Platform 4.3, JBoss.org ESB 4.4, and the JBoss SOA Platform 4.2, the version of BSF is 2.3.0 and the version of BSH is 1.3.0. Unfortunately, this older version of BSF supports less scripting engines (for example, no Groovy), and a broken Mozilla Rhino JavaScript. If you would like to upgrade (recognizing that this would affect the full supportability of our Enterprise Platforms and Frameworks that depend on them), you can follow these simple steps:
Download bsf-bin-2.4.0.zip
Extract bsf-bin-2.4.0.zip and copy bsf-2.4.0/lib/bsf.jar to overwrite jboss-4.2.3.GA/server/default/lib/bsf.jar
Regression test your application. ![]()
Download bsh-2.0b4.jar
Copy bsh-2.0b4.jar to overwrite jboss-4.2.3.GA/server/default/lib/bsh.jar
Regression test your application. ![]()
(In the above instructions replace "4.2.3.GA" with your JBoss.org AS version or "jboss-as" in JBoss EAP or SOA-P, and replace "default" with your server configuration name.)
There are no comments on this article