On 02/01/2022 16:23, Andy Seaborne wrote:

== javax-jakarta transition

jakarta is JavaEE at the Eclipse Foundation).

At some time, there will need to be transition from javax.* to jakarta.* for the package imports of javax.* that relate to Java EE.

For Fuseki that is mainly for javax.servlet but also an implication for the WAR file.

For the Fuseki code itself, there isn't much impact, just a rename. Partially this is because Fuseki does not use JavaEE features. For example, request dispatch is not done with web.xml (Fuseki dispatch is dynamic, not a static setup). FusekiMain does not use web.xml at all.

Jetty version 11 is the same as Jetty version 10 except that "javax" -> "jakarta" renaming. A big bang switch over but it should be mechanical translation.

There are two dependencies that use javax.servlet -- commons-fileupload and shiro.

commons-fileupload code does not update very often (last version was 2018). It is small and Fuseki only uses a small part of it so we could adopt the code we need for file upload from HTML pages.

There is a commons-fileupload2 in the pipeline.

This is for jakarta compatible.

https://issues.apache.org/jira/browse/FILEUPLOAD-309

    Andy

Reply via email to