Bean Scripting Framework

Bean Scripting Framework
Developer(s) Apache Software Foundation
Stable release
2.4.0 / October 6, 2006 (2006-10-06)
Preview release
3.0 Beta3 / April 5, 2009 (2009-04-05)
Development status Active
Written in Java
Operating system Cross-platform
Type Script Engine
License Apache License 2.0
Website http://jakarta.apache.org/bsf

The Bean Scripting Framework is a method of allowing the use of scripting in Java code. It provides a set of Java classes which provides support within Java applications for scripting languages, and also allows access to Java objects and methods. Some examples of languages that can be used in combination with BSF and Java include Python, Jython and Tcl, as well as JRuby and Groovy using their own libraries.

BSF was created by IBM, and then donated to the Apache Software Foundation, where work on BSF is part of the Apache Jakarta Project.

A counterpart of BSF is the JSR223 ScriptEngine shipped with Java SE 6. Java SE 6 only includes a Script Engine based on Rhino JavaScript Engine for Java version 1.6R2, while JSR223 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 the JSR223 include BeanShell, Jython, JRuby, JavaScript, Groovy and several others.

References

    Bibliography

    See also

    External links

    This article is issued from Wikipedia - version of the 2/5/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.