Developer(s) | Apache Software Foundation |
---|---|
Stable release | 2.4.0 / October 6, 2006; 18 years ago (2006-10-06) |
Preview release | 3.0 Beta3 / April 5, 2009; 16 years ago (2009-04-05) |
Repository | |
Written in | Java |
Operating system | Cross-platform |
Type | Script Engine |
License | Apache License 2.0 |
Website | commons![]() |
TheBean Scripting Framework is a method of allowing the use ofscripting inJava code. It provides a set of Javaclasses which provides support within Java applications for scripting languages, and also allows access to Javaobjects andmethods. Some examples of languages that can be used in combination with BSF and Java includePython,Jython,ooRexx andTcl, as well asJRuby andApache Groovy using their own libraries.
BSF was created byIBM, and then donated to theApache Software Foundation, where work on BSF is part of the ApacheJakarta Project. It is a part ofApache Commons.
A counterpart of BSF is theJSR223 ScriptEngine shipped withJava SE 6. Java SE 6 only includes a Script Engine based onRhino JavaScript Engine for Java version 1.6R2, whileJSR223 framework actually supports a number of scripting languages.JSR223 uses Script Engine to integrate scripts with Java source codes. So far, Script Engines included in theJSR223 includeBeanShell,Jython,JRuby,JavaScript,Groovy and several others.
![]() | Thisprogramming-tool-related article is astub. You can help Wikipedia byexpanding it. |