Houssem created JAMES-4104:
------------------------------

             Summary: Migrate from unmaintained SparkJava to active fork
                 Key: JAMES-4104
                 URL: https://issues.apache.org/jira/browse/JAMES-4104
             Project: James Server
          Issue Type: Improvement
            Reporter: Houssem


SparkJava (com.sparkjava:spark-core) is a critical dependency in the James 
codebase,
used across 90+ files, but has entered an unmaintained state:
 * 200+ unresolved issues on GitHub
 * No active development for 3 years (last commit: July 2022)
 * Compatibility risks with modern Java/Jakarta EE

Security concerns due to outdated dependencies
-------------------------
PROPOSED SOLUTION
-------------------------
Adopt the maintained spark-11 fork by nmondal:
[https://github.com/nmondal/spark-11] 

Key improvements:
---------------------------------
 - Modern Java 17+ baseline
 - Virtual thread (Java 21) support
 - Jetty 12 integration (HTTP/2.0 compatible)
 - javax -> jakarta API migration
 - Websocket refactoring for Jetty 11+ 

Diff comparison with upstream:
[https://github.com/perwendel/spark/compare/master...nmondal:spark-11:master]

-------------------------  
NEXT STEPS
-------------------------  
1. Code review of spark-11 fork
2. Update dependency and ensure green build
3. Develop regression tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to