Skip to main content

Nashorn and Scripting

  • Chapter
  • First Online:
Java 8 Recipes
  • 3467 Accesses

Abstract

In Java 6, the javax.script package was included. It enabled developers to embed code written in scripting languages into Java applications. This began a new generation of 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Josh Juneau

About this chapter

Cite this chapter

Juneau, J. (2014). Nashorn and Scripting. In: Java 8 Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6826-0_18

Download citation

Publish with us

Policies and ethics