I noticed that scala corresponds to jsr 223 https://issues.scala-lang.org/browse/SI-874 ... but can it do things like GroovyScriptEngine? I am considering adding support for scala scripts for our product so that developers can write small applications / components / classes that will be loaded from a java application (ideally, with the ability to reload). I use GroovyScriptEngine for groovy applications / components / classes, but I can not find anything like it in Scala.
Basically, I will need to transfer it to a directory with scala contents, and it will load all scala classes that will be available (or at least one) for the java application.
Could you give me some pointers? This is the only way to use scala for us.
lisak source share