Skip to end of metadata
Go to start of metadata

Scope

Versions of Java scripting languages and JobScheduler releases

  • Use of Colors
    • a green background color signals a recommended scripting language.
    • a yellow background color signals deprecation or restricted use.
    • a red background color signals outdated or unsupported scripting languages.

 

No.SyntaxJava ReleaseJobScheduler ReleaseComments
1<script language="javascript"/>
  • Java independent, C++ implementation of the SpiderMonkey project
  • Available for 32-bit JobScheduler Master releases
  • Not available for 64-bit JobScheduler Master releases
  • JS-1306 - Getting issue details... STATUS
  • syntax for JobScheduler API is the same as for no. 2

 

2<script language="java:javascript"/>
  • available starting from Java version 1.7
  • maps to the Rhino Scripting Engine when using Java 1.7
  • maps to the Nashorn Scripting Engine when using Java 1.8
  • starting from JobScheduler Master and Agent release 1.5
  • syntax for JobScheduler API is the same a for no. 1, <script language="javascript"/>
  • for compatibility to move Javascript jobs on 32Bit JobScheduler (using spidermonkey) to a 64Bit JobScheduler with minimal changes (only script language attribute)
  • uses Java Beans Layer on Rhino/Nashorn Scripting Engine
3<script language="javax.script:javascript/>
  • Java Version 1.7, 1.8
  • maps to the Rhino Scripting Engine when using Java 1.7
  • maps to the Nashorn Scripting Engine when using Java 1.8
  • syntax for JobScheduler API is the same as for no. 4 and 5
4<script language="javax.script.rhino"/>
  • Java 1.7
  • removed with Java 1.8
  • starting from JobScheduler Master and Agent release 1.5
  • syntax for JobScheduler API is the same as for no. 3 and 5
5<script language="javax.script:ECMAscript"/>
  • Java 1.7, 1.8
  • starting from JobScheduler Master and Agent release 1.5
  • maps to the Rhino Scripting Engine when using Java 1.7
  • maps to the Nashorn Scripting Engine when using Java 1.8
  • syntax for JobScheduler API is the same as for no. 3 and 4

See also

 

Write a comment…