spring-framework icon indicating copy to clipboard operation
spring-framework copied to clipboard

Introduce support for JavaScript, Python and Wasm execution via Graal languages

Open sdeleuze opened this issue 1 month ago • 1 comments

There are multiple reasons why we may want to introduce support for polyglot languages in Spring Framework 7.1:

  • Nashorn has been removed from the JDK since Java 15, and GraalJS seems to be its de-facto successor
  • Python popularity has strongly increased and GraalPy provide a great support for it
  • Could provide a way to integrate Wasm workload to Spring applications via GraalWasm
  • Spring Integration provides already support for it via its PolyglotScriptExecutor

The impact on the Spring scripting support in the org.springframework.scripting package and on ScriptTemplateView will need to be evaluated.

sdeleuze avatar Oct 30 '25 14:10 sdeleuze