Bean Scripting Framework
| Bean Scripting Framework | |
|---|---|
| Developer | Apache Software Foundation |
| Stable release | 2.4.0
/ October 6, 2006 |
| Preview release | 3.0 Beta3
/ April 5, 2009 |
| Written in | Java |
| Operating system | Cross-platform |
| Type | Script Engine |
| License | Apache License 2.0 |
| Website | commons |
| Repository | |
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, ooRexx and Tcl, as well as JRuby and Apache 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. It is a part of Apache Commons.
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.
See also
- JRuby - Java implementation of Ruby interpreter.
- Jython - Java implementation of Python programming language.
- BeanShell - Java interpreter for Java source codes
- JSR223 - JSR223: Scripting for the JavaTM platform
References
Bibliography
- Bosanac, Dejan (August 19, 2007), Scripting in Java: Languages, Frameworks, and Patterns (1st ed.), Addison-Wesley Professional, p. 552, ISBN 978-0-321-32193-0, archived from the original on November 14, 2011, retrieved September 4, 2009
External links
- Official website

- IBM - Bean Scripting Framework Archived 2011-05-22 at the Wayback Machine
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.