14.07.2013 Views

Contents - Cultural View

Contents - Cultural View

Contents - Cultural View

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bean Scripting Framework 49<br />

Bean Scripting Framework<br />

Developer(s) Apache Software Foundation<br />

Stable release 2.4.0 / October 6, 2006<br />

Preview release 3.0 Beta3 / April 5, 2009<br />

Development status Active<br />

Written in Java<br />

Operating system Cross-platform<br />

Type Script Engine<br />

License Apache License 2.0<br />

Website http:/ / jakarta. apache. org/ bsf<br />

The Bean Scripting Framework is a method of allowing the use of scripting in Java code. It provides a set of Java<br />

classes which provides support within Java applications for scripting languages, and also allows access to Java<br />

objects and methods. Some examples of languages that can be used in combination with BSF and Java include<br />

Python, Jython, Tcl, as well as JRuby, and Groovy using their own libraries.<br />

BSF was created by IBM, and then donated to the Apache Software Foundation, where work on BSF is part of the<br />

Apache Jakarta Project.<br />

A counterpart of BSF is the JSR223 ScriptEngine shipped with Java SE 6. Java SE 6 only includes a Script Engine<br />

based on Rhino JavaScript Engine for Java version 1.6R2, while JSR223 framework actually supports a number of<br />

scripting languages. JSR223 uses Script Engine to integrate scripts with Java source codes. So far, Script Engines<br />

included in the JSR223 include BeanShell, Jython, JRuby, JavaScript, Groovy and several others.<br />

Bibliography<br />

• Bosanac, Dejan (August 19, 2007), Scripting in Java: Languages, Frameworks, and Patterns [1] (1st ed.),<br />

Addison-Wesley Professional, pp. 552, ISBN 978-0321321930<br />

See also<br />

• JRuby - Java implementation of Ruby interpreter.<br />

• Jython - Java implementation of Python programming language.<br />

• BeanShell - Java interpreter for Java source codes<br />

• JSR223 - JSR223: Scripting for the JavaTM platform

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!