[graalvm-users] Migrate from Nashhorn JSR 223 Scripting Engine to Graal

Andreas Mueller am at iit.de
Fri Jun 22 07:13:51 PDT 2018

Hi Andreas,

> 2. onTimer({execute: function(timer){}})
> (where execute is the name of the interface method)
> or if possible, add @FunctionalInterface to the interface

I guess it’s the above. I can’t change the scripts as we have hundreds of them on customer’s side. We use Nashorn as the scripting engine for SwiftMQ Streams. Nashorn automatically choses the right method without the need to annotate.

Adding the annotation is possible but can’t you provide a kind of Nashorn compatibility mode? That would make the transitioning a lot easier.

Concerning using GraalVM as the JVM:

We use the scripting engine as an integral part of our message broker. Customer’s don’t switch to GraalVM in production because we tell’em. What we need is in fact a Nashorn replacement as a scripting engine as part of the JDK or as a plugin into the JDK by adding it to the classpath. Nashorn’s performance is ok for us but an increase would be much appreciated. Are there plans to provide that?

Andreas Mueller
IIT Software GmbH

IIT Software GmbH
Falkenhorst 11, 48155 Münster, Germany
Phone: +49 (0)251 39 72 99 00
Managing Director: Andreas Müller
District Court: Amtsgericht Münster, HRB 16294
VAT-No: DE199945912

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20180622/8ebaffa9/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: swiftmq_logo_positiv.png
Type: image/png
Size: 10241 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/graalvm-users/attachments/20180622/8ebaffa9/attachment.png 

More information about the GraalVM-Users mailing list