What Does BeanShell Mean?

BeanShell is an open-source embeddable Java source interpreter which has object scripting language features developed in Java. Developed by Patrick Niemeyer, BeanShell runs in the Java Runtime Environment and makes use of a variation of the Java syntax. BeanShell has been used in many applications like Apache Ant, WebLogic Server and Apache OpenOffice. BeanShell is also a popular debugging and testing tool for the Java Virtual Machine platform.


Techopedia Explains BeanShell

BeanShell provides an easy-to-integrate API and can be run in both graphical and command-line environments. BeanShell is capable of dynamically executing standard Java syntax, Java code fragments, loosely typed Java code and provide extensibility to Java applications. It also provides transparent access to all Java objects and APIs. In many ways, BeanShell can be considered a package consisting of dynamically interpreted Java, scripting language and a flexible environment. BeanShell can be run in four modes: Console, Command Line, Remote Session Server and Applet. Similar to Perl and JavaScript, BeanShell supports scripted objects as simple method closures. The scripting features include event handlers, error reporting and method closures.

BeanShell has a wide range of uses. It can aid in remote debugging, user scripting extension, configuration, testing and dynamic deployment. It can help in exploring Interactive Java. BeanShell with the help of full Java syntax can also be used to replace properties files and start up config files with real scripts to perform complex initialization and setups. BeanShell is also used in evaluating full Java source classes dynamically and also in evaluating Java statements, expressions and methods.


Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…