Scope

  • JobScheduler supports the use of JavaScript with scripted jobs.
  • Such jobs can make use of the JobScheduler API for JavaScript
  • JavaScript is provided out-of-the-box and ships with the JVM, 

JavaScript Implementations

  • A number of JavaScript implementations is available, see What Java scripting languages are supported?
  • It is recommended to use the JavaScript implementation that ships with the JVM:
    • The Nashorn implementation is available starting with JVM 1.8 and is referenced by use of the <script language="java:javascript"/> attribute.
    • The Spidermonkey implementation is deprecated as it has not been ported to 64bit environments. This language is available by use of the <script language="javascript"/> attribute.

 

 
 

Navigation