spring-projects / spring-projects/spring-framework

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

Open
#35,725 2 comments 32 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.