Rhino is an Open source refers to projects that are open to the public and which draw on other projects that are freely available to the general public. ...open sourceJavaScript engine. It is developed entirely in Java is an object-oriented programming language developed primarily by James Gosling and colleagues at Sun Microsystems. ...Java and managed by the The Mozilla Foundation is a not_for_profit corporation that exists to support and provide leadership for the open source Mozilla project. ...Mozilla Foundation. There is also an implementation in The C Programming Language, Brian Kernighan and Dennis Ritchie, the original edition that served for many years as an informal specification of the language The C programming language is a low_level standardized programming language developed in the early 1970s by Ken Thompson and Dennis Ritchie for use on the...C known as SpiderMonkey is the code name for one of two JavaScript implementations maintained at mozilla. ...SpiderMonkey.
The Rhino project was started at Netscape Communications Corporation was the publisher of the Netscape Navigator web browser as well as many other internet and intranet client and server software products. ...Netscape in 1997 is a common year starting on Wednesday of the Gregorian calendar, and was designated the International Year of the Reef. ...1997 and released to mozilla.org in 1998 is a common year starting on Thursday of the Gregorian calendar, and was designated the International Year of the Ocean. ...1998. It was made open source thereafter. The project gets its name from the animal on the cover of the JavaScript book [1] (http://www.oreilly.com/catalog/jscript3/) from O'Reilly (preview online) (http://safari.oreilly.com/?XmlId=0-596-00048-0).
Rhino converts JavaScript scripts into Java classes. Rhino works in both compiled as well as interpreted mode. It is intended to be used in applications, hence there is no support for browser objects that is commonly associated with JavaScript.
Rhino can be used as a debugger by making use of the Rhino shell. It can be used in applications by embedding Rhino.
See also
SpiderMonkey is the code name for one of two JavaScript implementations maintained at mozilla. ...SpiderMonkey
Granted that JavaScript is not Java and Rhino doesn't support use of compiled Java classes as seamlessly as BeanShell, but it does have a number of other advantages.
Rhino is significantly faster than BeanShell and the difference become more pronounced as the data size increases.
The performance advantage of Rhino alone may not sufficient for me to switch, for most of my programs spend less than 10 percent of the total execution time running BeanShell scripts (rest is spent running Java byte code from existing class libraries), but it certainly is going to be a factor.
A JavaScriptengine (also known as JavaScript interpreter or JavaScript implementation) is an interpreter that interpretes JavaScript source code and executes the script accordingly.
The engine, code named SpiderMonkey, is implemented in C.
The Rhinoengine, created primarily by Norris Boyd (also at Netscape) is a JavaScript implementation in Java.