spring-projects / spring-projects/spring-framework
Introduce support for JavaScript, Python and Wasm execution via Graal languages
Open
@sdeleuze is already working on this.
Since Oct 30, 2025.
in: core
type: enhancement
- Dominant language
- Java
- Stars
- 60.2k
- Forks
- 38.8k
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 27
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.