Despite the fact the user is able to execute JavaScript remotely over Hotrod Javascript Client, at the moment it is fully functional only in local mode. In case if the mode is set to distributed,
it is not possible to pass parameters to the remote Javascript stored in the server.
This is a known issue in JBoss Data Grid 7.0.0.Beta. To workaround the issue place the key/value pairs, which you would like to pass as a parameter to the script, into the cache and then access them from the remote script using "cache" and "cacheManager" predefined variables.
Despite the fact the user is able to execute JavaScript remotely over Hotrod Javascript Client, at the moment it is fully functional only in local mode. In case if the mode is set to distributed,
it is not possible to pass parameters to the remote Javascript stored in the server.
This is a known issue in JBoss Data Grid 7.0.0.Beta. To workaround the issue place the key/value pairs, which you would like to pass as a parameter to the script, into the cache and then access them from the remote script using "cache" and "cacheManager" predefined variables.