[ https://issues.apache.org/jira/browse/FELIX-6701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843628#comment-17843628 ]
Carsten Ziegeler commented on FELIX-6701: ----------------------------------------- So far we managed to have an implementation that support various servlet API versions; right now we basically support servlet 2 to 6 with both the http.jetty and the http.jetty12 implementation - there are some problems if some of the deprecated methods are used which got removed in the servlet API 6. But other than that you can run servlet 3 or servlet 5 code on http.jetty12. We only have http.jetty and http.jetty12 because of the Java 17 requirement for Jetty12 - eventually we can put http.jetty to maintenance. Therefore we should see that http.jetty12 just uses the latest available jetty implementation and with that we would support Jakarta EE11; We might break code that uses Jetty classes directly as we move along to newer Jetty versions, but that seems to be unavoidable. > Jetty12 EE11 preparation > ------------------------- > > Key: FELIX-6701 > URL: https://issues.apache.org/jira/browse/FELIX-6701 > Project: Felix > Issue Type: Improvement > Components: HTTP Service > Reporter: Paul Rütter > Priority: Major > > Jakarta EE 11 should be released within a couple of months, thus Jetty will > follow with a 12.1.x ([https://webtide.com/introducing-jetty-12/). > |https://webtide.com/introducing-jetty-12/).]Ideally, this will become a new > feature of the Jetty12 bundle. > What are the ideas to support this? > For the light bundle, i can imagine that the EE11 classes can be detected in > the classloader, like is done for websocket support. For the main jar, would > both EE10 and EE11 servlet classes be part of it? Or would we introduce new > classifiers for EE11 servlet? Probably, a new configuration option is needed > to specify the EE version to run. > These imports would be problematic if the EE10 classes are not available, > [https://github.com/apache/felix-dev/blob/517f9a0c89cad1866f315255568b40c568f5239d/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L34.] > > Just wondering how new (or existing 8/9, for that matter) EE specifications > would be part of the jetty12 bundle. Of course, we could already try it out > with EE9 as an exercise to ease transition to Jetty12. -- This message was sent by Atlassian Jira (v8.20.10#820010)