Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restlet-2.4 integration with up-to-date Jetty versions #1396

Open
effad opened this issue Oct 13, 2022 · 9 comments
Open

Restlet-2.4 integration with up-to-date Jetty versions #1396

effad opened this issue Oct 13, 2022 · 9 comments

Comments

@effad
Copy link

effad commented Oct 13, 2022

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?

@kerbymart
Copy link

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

@roopchandak
Copy link

Will there be any plans to integrate Jetty 11/12 with Restlet?

@jlouvel
Copy link
Member

jlouvel commented May 11, 2024

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

@pembertonrw
Copy link

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.

@jlouvel
Copy link
Member

jlouvel commented Oct 29, 2024

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.

@pembertonrw
Copy link

pembertonrw commented Oct 29, 2024

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?

@jlouvel
Copy link
Member

jlouvel commented Oct 29, 2024

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

@pembertonrw
Copy link

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.

@jlouvel jlouvel self-assigned this Nov 26, 2024
@jlouvel
Copy link
Member

jlouvel commented Nov 26, 2024

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants