Jump to content

Scripting for the Java Platform: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Page is restored
mNo edit summary
 
Line 1: Line 1:
'''Scripting for the Java Platform''' is a framework for embedding [[scripting language|scripts]] into [[Java (programming language)|Java]] [[source code]].
'''Scripting for the Java Platform''' is a framework for embedding [[scripting language|scripts]] into [[Java (programming language)|Java]] [[source code]].


There is no requirement for a given [[Java Virtual Machine]] (JVM) to include any engines by default, but the Oracle JVM (Java 6 and later) includes a [[JavaScript engine]], based on [[Rhino (JavaScript engine)|Rhino]] version 1.6R2 before Java 8, and [[Nashorn (JavaScript engine)|Nashorn]] since Java 8.
There is no requirement for a given [[Java virtual machine]] (JVM) to include any engines by default, but the Oracle JVM (Java 6 and later) includes a [[JavaScript engine]], based on [[Rhino (JavaScript engine)|Rhino]] version 1.6R2 before Java 8, and [[Nashorn (JavaScript engine)|Nashorn]] since Java 8.


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,<ref>[https://jcp.org/en/jsr/detail?id=223 JSR 223 Detail]</ref> where it was decided that this functionality would be included as an integral part of [[Java 9]] and onward.
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,<ref>[https://jcp.org/en/jsr/detail?id=223 JSR 223 Detail]</ref> where it was decided that this functionality would be included as an integral part of [[Java 9]] and onward.
Line 14: Line 14:
{{reflist}}
{{reflist}}


==Bibliography==
== Bibliography ==
{{refbegin}}
{{refbegin}}
*{{citation
*{{citation

Latest revision as of 20:53, 20 March 2022

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 engines by default, but the Oracle JVM (Java 6 and later) includes a JavaScript engine, based on Rhino version 1.6R2 before Java 8, and Nashorn since Java 8.

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,[1] where it was decided that this functionality would be included as an integral part of Java 9 and onward.

See also

[edit]

References

[edit]

Bibliography

[edit]
  • Bosanac, Dejan (August 19, 2007), Scripting in Java: Languages, Frameworks, and Patterns (1st ed.), Addison-Wesley Professional, p. 552, ISBN 978-0-321-32193-0
[edit]