Closed
Description
Mark Pollack opened SPR-11007 and commented
Several projects, SI, Security and Spring Hadoop have code that evaluates a groovy script. The Spring Hadoop project has
and SI has
In the SI case it doesn't use JSR233 infrastructure to invoke the script, but Groovy support classes. Artem mentioned that using the groovy support classes might result is a faster overall script execution time, so that should be investigated.
The running suggestion is to incorporate the JSR223ScrfiptEvaluator functionality as it provides support for a wider range of scripting languages out of the box.
Issue Links:
- XD-1027 Create script-based batch ItemProcessor ("is depended on by")
- ScriptFactory for JSR-223 [SPR-5215] #9888 ScriptFactory for JSR-223
- Allow specifying CompilationCustomizer for Groovy based beans [SPR-14585] #19154 Allow specifying CompilationCustomizer for Groovy based beans
Referenced from: commits dfb29f4