Lesson plan

Scripting for the Java Platform

Scripting for the Java Platform is a framework for embedding scripts into Java source code. There is no requirement for a given Java virtual machine (JVM) to include any JavaScript engine by default, but the Oracle JVM (Java 6 and later) included a JavaScript engine, based on Rhino version 1.6R2 before Java 8, and Nashorn since Java 8. Nashorn was deprecated in Java 11 and was officially removed from the JDK in Java 15. Scripting for the Java Platform was developed under the Java Community Process as JSR 223. The final release of JSR 223 happened on December 11, 2006. The specification, however, was withdrawn later on December 13, 2016 after a Maintenance Review Ballot, where it was decided that the javax.script API would be included as an integral part of Java 9 and onward.

Back to article

Article summary

Scripting for the Java Platform is a framework for embedding scripts into Java source code. There is no requirement for a given Java virtual machine (JVM) to include any JavaScript engine by default, but the Oracle JVM (Java 6 and later) included a JavaScript engine, based on Rhino version 1.6R2 before Java 8, and Nashorn since Java 8. Nashorn was deprecated in Java 11 and was officially removed from the JDK in Java 15. Scripting for the Java Platform was developed under the Java Community Process as JSR 223. The final release of JSR 223 happened on December 11, 2006. The specification, however, was withdrawn later on December 13, 2016 after a Maintenance Review Ballot, where it was decided that the javax.script API would be included as an integral part of Java 9 and onward.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.