Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • JS1 includes support for a number of scripting languages:
    • Shell Jobs implemented with any scripting language are supported, provided that the script interpreter, e.g. Python, Ruby etc., is available on the machine which the job is executed on.
    • API Jobs are supported for a number of scripting languages to which the JobScheduler Job API is exposed:
      • JavaScript (Nashorn)
      • JScript (Microsoft)
      • Perl (PerlScript)
      • PowerShell (Microsoft)
      • VBScript (Microsoft)
    • JavaScript is available from the Java Virtual Machine (JVM) implementation provided by the Nashorn JavaScript Engine.
    • The JScript and VBScript scripting languages are only supported by the Windows JVM on 32bit systems as described in VBScript Jobs. The ScriptControl:VBScript job type introduced with JobScheduler release 1.10 acts as a replacement for VBScript jobs.
  • JS7 includes support for the following scripting languages:
    • The option of running Shell Jobs for any scripting language for which the interpreter is available remains unchanged.
    • Later JS7 releases will include support for API Jobs for scripting languages available with the GraalVM such as
      • JavaScript (Node.js)
      • Perl
      • Python
      • Ruby
    • For Java and JavaScript Jobs the JS7 - Job API is offered.
    • JS7 - JavaScript Jobs are supported based on use of the Oracle GraalVM with JS7 Agents starting from Release 2.5.4 and Release 2.6.1.
    • At the same time JS7 JVM Java/JavaScript Jobs do not provide the same capabilities as API Jobs for JS1. JS7 JVM Jobs are limited by design to receiving arguments and returning result objects. Actions on inventory objects such as adding orders, stopping jobs etc.  are are available through the the JS7 - REST Web Service API (see below).

...

  • The functionality of the JobScheduler Job API has been migrated to the JS7 - REST Web Service API.
  • However, a number of differences have to be considered:
    • The JS1 Job API allows modification of objects of the current job such as the current task or order.
    • The JS7 REST Web Service API allows modification of any objects at configuration level that includes deploying modified objects.
    • A number of operations of the JS1 Job API are not available with JS7, for example modifying the job configuration on-the-fly by, for example, adding/dropping a setback configuration. This is not considered good practice as such changes to the configuration are deeply buried in script code and are not evident from configuration.
  • A REST Client has to be used by jobs that access the JS7 REST Web Service API. JS7 ships with a REST Client for Java/JavaScript jobs.

Object Changes

Consider changes described in the JS7 - Terminology article.

...