Abstract
In Java 6, the javax.script package was included for incorporating scripting languages with Java. It enabled developers to embed code written in scripting languages directly into Java applications. This began a new generation of polyglot applications, as developers were able to construct Java solutions containing scripts written in languages such as JavaScript and Python. The JavaScript engine that was used in Java 6 was called Rhino. It is an implementation of the JavaScript engine, developed entirely in Java. While it contains a full JavaScript implementation, it is an older engine and is no longer compliant with current JavaScript Standards.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Josh Juneau
About this chapter
Cite this chapter
Juneau, J. (2017). Nashorn and Scripting. In: Java 9 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1976-8_18
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1976-8_18
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1975-1
Online ISBN: 978-1-4842-1976-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)