Домой United States USA — software Comparison and Usage of Javascript Engines in Camunda

Comparison and Usage of Javascript Engines in Camunda

85
0
ПОДЕЛИТЬСЯ

In this article, let’s look at how to use Javascript as a scripting language in Camunda with the introduction of Java 15.
Join the DZone community and get the full member experience.
In this article, let’s look at how to use Javascript as a scripting language in Camunda with the introduction of Java 15, where the Nashorn Javascript Engine is removed from Java.
            Java 8 introduced Nashorn Javascript Engine, and Camunda is using the same to process scripts written in Javascript. With the introduction of Java 15 (supported by Camunda v7.16+), Nashorn Javascript Engine is removed. Camunda v7.16+ now supports GraalVM Javascript as a Javascript engine as well.
            Further, Let’s see how to use Javascript in Camunda v7.16+ (where GraalVM Javascript support is present) with Java 15+ (without Nashorn) and prior to Java 15 (with Nashorn).
            This article will use the embedded Camunda engine; if you have not done it before, follow the link to have an embedded Camunda engine application.

Continue reading...