Open effad opened 2 years ago
Restlet is unmaintained (afaik)
modules/org.restlet.ext.jetty/src/main/java/org/restlet/ext/jetty/JettyServerHelper.java
Would be the starting point (I think) to upgrade Restlet to a new Jetty server
Currently both Restlet 2.4 and also the upcoming Restlet 2.5 are meant to stay compatible with Java 8 which is only supported with Jetty 9.4.
Therefore supporting Jetty 12 could happen at the earliest in Restlet 3.0 which we will start working on seriously this Summer, based on Jetty requirements: https://eclipse.dev/jetty/download.php
Hi @jlouvel, is there any update on when Restlet will support Jetty 12? As if I understand https://endoflife.date/eclipse-jetty correctly it's coming out of Security support next year.
Hi @pembertonrw Thanks for bring that issue to our attention. Our latest thinking is to support Java 17 and Jetty 12 in a version 2.6 of Restlet Framework.
While we are currently focusing on releasing version 2.5 which is still based on Java 8 to focus on transition from 2.4 to the Maven native version of the framework, the EOL of Jetty OSS maintenance does create an issue similar to Spring Framework that needs an upgrade to Spring 6.0, also requiring Java 17.
@thboileau Let's discuss the situation in our next conversation.
Hi @jlouvel, thanks for the prompt response. If you could pop something on here when you do have a path that you are going to take, that would be great.
Is there a reason why you would not support Java 11 as it has a longer extended support than Java 17 at the moment?
Hi @pembertonrw Do you mean Java 21 LTS instead of Java 11? https://www.oracle.com/java/technologies/java-se-support-roadmap.html
The idea here is to have Java 17 as the minimum requirement while higher version could be used as well. Jetty 12 does require Java 17 at a minimum: https://jetty.org/docs/jetty/12/index.html
You can ignore my comment: Java 11 as one of my colleagues pointed out to me after I posted that Jetty 12 had a minimum requirement of Java 17.
FYI, now that Restlet 2.5 RC1 has been released, we have started to work on a 2.6 branch in currently looking into upgrading to Jetty 12. There are many API changes internally that require a significant rework of the Restlet adapter.
The good news is that once upgraded there won't be a dependency on the Servlet API anymore plus we should get easier access to HTTP/2.0 and HTTP/3.0 protocols, both client and server sides, Stay tuned...
Since Jetty 9 is no longer community supported as of June 1st, 2022 and will be end-of-life soon: Will there be version of Restlet-2.4 that integrates with one of the newer Jetty versions?