Add a Reactive ScriptTemplateView [SPR-15063] #19629
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Sébastien Deleuze opened SPR-15063 and commented
JSR 223 support would make sense for Reactive application. See https://github.com/sdeleuze/kotlin-script-templating for an interesting use case with Kotlin.
One open question to be solved is how can we deal with
ScriptEngine
that are not thread safe. In Spring MVC we use asharedEngine
boolean property +ThreadLocal
, in reactive world we will need to find another solution if we want to support this, like aScriptEngine
pool or just getting a newScriptEngine
for each request.Referenced from: commits b503e46
The text was updated successfully, but these errors were encountered: