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

Jakarta Servlet API 5.0+ #451

Closed
ExtraCrafTX opened this issue Jan 20, 2021 · 5 comments
Closed

Jakarta Servlet API 5.0+ #451

ExtraCrafTX opened this issue Jan 20, 2021 · 5 comments

Comments

@ExtraCrafTX
Copy link

The servlet API is moving to the jakarta namespace from javax.
https://jakarta.ee/specifications/servlet/5.0/

Would be great to get a release for the new namespace.

@grgrzybek
Copy link
Contributor

grgrzybek commented Sep 12, 2023

The discussion: #555

grgrzybek added a commit that referenced this issue Sep 20, 2023
Instead of Jetty, we use now Undertow (core), which has fewer
dependencies and doesn't depend on Servlet API at all. At the same time
the version used for undertow-servlet library will use Servlet API 6 and
still be JDK11 compatible.

On the other hand, Jetty 12 is multi-servlet-API version, but requires
JDK17.
grgrzybek added a commit that referenced this issue Sep 20, 2023
…s/test-util

HttpTestUtil.java was moved (for now) to server/core, but soon there
will be Servlet API 4 and 6 specific versions of this class.
@grgrzybek
Copy link
Contributor

yikes. The problem with Spring support for Jolokia 2.0 is that while we want Servlet API 5+ (jakarta.servlet package) we still want JDK 11...
However there's no Spring Framework version using JakartaEE 9+ while still being JDK11 compliant...

grgrzybek added a commit that referenced this issue Sep 25, 2023
…tty 11 now

Some org.eclipse.jetty.http.UriCompliance adjustments were needed (to be
documented soon).
grgrzybek added a commit that referenced this issue Sep 25, 2023
@tadayosi
Copy link
Member

@grgrzybek

yikes. The problem with Spring support for Jolokia 2.0 is that while we want Servlet API 5+ (jakarta.servlet package) we still want JDK 11... However there's no Spring Framework version using JakartaEE 9+ while still being JDK11 compliant...

Yes, Spring Boot 3 supports only Java 17+. I don't think it's a problem though; we can just support Java 11, 17, ... and Spring Boot can utilise Jolokia 2.0 with Java 17+. The only thing we need to do is just turn off the Spring Boot related subprojects for Java 11, as enabling them for Java 11 doesn't make sense.

@grgrzybek
Copy link
Contributor

Sure - I'll add proper Maven profiles.

@tadayosi
Copy link
Member

Awesome! 🎉

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

Successfully merging a pull request may close this issue.

3 participants