Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

BeanShell

From Wikipedia, the free encyclopedia
Java-like scripting language
BeanShell
ParadigmObject-oriented,scripting
Designed byJCP
First appeared1999; 27 years ago (1999)
Stable release
2.1.1[1] / 2 December 2022; 3 years ago (2 December 2022)
Typing disciplineDynamic,strong
Implementation languageJava
PlatformJVM
OSCross-platform
License2012:Apache-2.0[a][2][3]
2001:SPL-1.0 orLGPL-2.1-only[b][4]
1999:LGPL-2.1-only[c][5]
Websitegithub.com/beanshell/beanshell
Influenced by
Java,JavaScript,Perl

BeanShell is a small, free, embeddable Java source interpreter with object scripting language features, written inJava. It runs in theJava Runtime Environment (JRE), dynamically executes standard Java syntax and extends it with common scripting conveniences such as loose types, commands, and method closures, like those in Perl and JavaScript.

Features

[edit]

While BeanShell allows its users to definefunctions that can be called from within a script, its underpinning philosophy has been to not pollute its syntax with too many extensions and "syntactic sugar", thereby ensuring that code written for a Javacompiler can usually be executedinterpretively by BeanShell without any changes and, almost just as much, vice versa. This makes BeanShell a populartesting anddebugging tool for theJava virtual machine (JVM) platform.

BeanShell supports scripted objects as simple methodclosures like those inPerl andJavaScript.

BeanShell is anopen source project and has been incorporated into many applications, such asApache OpenOffice,Apache Ant,WebLogic Server Application Server,Apache JMeter,jEdit,ImageJ,JUMP GIS,Apache Taverna, and many others. BeanShell provides an easy to integrateapplication programming interface (API). It can also be run in command-line mode or within its own graphical environment.

History

[edit]

The first versions of BeanShell (0.96, 1.0) were released by Patrick Niemeyer in 1999, followed by a series of versions. BeanShell 1.3.0 was released in August 2003. Version 2.0b1 was released in September 2003, culminating with version 2.0b4 in May 2005, which as of January 2015 is the newest release posted on the official webpage.[6]

BeanShell has been included in the Linux distributionDebian since 1999.[7]

BeanShell was undergoingstandardization through theJava Community Process (JCP) under JSR 274.[8]

Following the JCP approval of the BeanShell JSR Review Ballot in June 2005, no visible activity was taking place around BeanShell.[9] The JSR 274 status is "Dormant".

Since Java 9, Java instead includesJShell, a differentread–eval–print loop (REPL) shell based on Java syntax, indicating that BeanShell will not be continued.[10]

Afork of BeanShell,BeanShell2, was created in May 2007 on the now-defunctGoogle Code Web site.[11] Thebeanshell2 project has made a number of fixes and enhancements to BeanShell and multiple releases. As of January 2020[update], the latest version of BeanShell2 is v2.1.9, released March 2018.[12] This fork was merged back into the original tree in 2018,[13] retaining all the independent changes from both, and the official project has been hosted atGitHub.[14]

In December 2012, following a proposal to accept BeanShell as an Apache Incubator project,[15] BeanShell was licensed toThe Apache Software Foundation and migrated to the Apache Extras,[16] changing the license toApache License 2.0. The project was not accepted but instead projected to become part of theApache Commons at a future time.

Due to changes in the developers' personal circumstances, the BeanShell community did not, however, complete the move to Apache,[17] but remained at Apache Extras. The project has since released BeanShell 2.0b5,[16] which is used byApache OpenOffice andApache Taverna.

A Windows automated installer, BeanShell Double-Click,[18] was created in 2013. It includes desktop integration features.

See also

[edit]

Notes

[edit]
  1. ^Apache-2.0: Since 2.0b5
  2. ^SPL-1.0 or LGPL-2.1-only: From 1.1alpha5 to 2.0b4
  3. ^LGPL-2.1-only: 1.0 to 1.1alpha3

References

[edit]
  1. ^"Release 2.1.1". 2 December 2022. Retrieved7 December 2022.
  2. ^Niemeyer, Pat."BeanShell Software License".beanshell.org. RetrievedJanuary 13, 2016.
  3. ^"BeanShell".github.com. RetrievedJanuary 13, 2016.
  4. ^"CHANGES.md".GitHub.
  5. ^"License.txt in 1.0".GitHub.
  6. ^"BeanShell Downloads".beanshell.org. 2009-01-28. Retrieved28 January 2015.
  7. ^"Source Package: bsh (2.0b4-12)".Debian. Retrieved28 January 2015.
  8. ^The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 274. Jcp.org. Retrieved on 2013-07-21.
  9. ^"The Java Community Process(SM) Program - JSRs: Java Specification Requests - results".jcp.org.
  10. ^"JEP 222: jshell: The Java Shell (Read-Eval-Print Loop)".openjdk.java.net. Retrieved2015-09-03.
  11. ^beanshell2 - fork of BeanShell - Google Project Hosting. Code.google.com (2011-11-21). Retrieved on 2013-07-21.
  12. ^Jodeleit, Peter."README.md".GitHub. Retrieved23 January 2020.
  13. ^"Fork to investigate possible merge · Issue #46 · beanshell/Beanshell".GitHub.
  14. ^https://github.com/beanshell/beanshell GitHub - beanshell/beanshell: Beanshell, a scripting language for the Java Virtual Machine. Retrieved on 2018-03-06.
  15. ^Tripodi, S; Bazley, S (2012)."BeanShell proposal".Incubator Wiki. Apache Software Foundation.
  16. ^ab"beanshell/beanshell". January 27, 2021 – via GitHub.
  17. ^Tripodi, Simone (2015-01-08)."Beanshell under Apache?".Apache Taverna developer mailing list. Apache Software Foundation. Retrieved28 January 2015.
  18. ^BeanShell Double-Click | Free Development software downloads at. Sourceforge.net. Retrieved on 2013-07-21.

External links

[edit]
Platforms
Technologies
Oracle
Platform
Major
third-party
History
JVM
languages
Community
Conferences
Organizations
People
Retrieved from "https://en.wikipedia.org/w/index.php?title=BeanShell&oldid=1325812367"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp