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

Baseline Java SE level for EE 11 #553

Closed
starksm64 opened this issue Sep 27, 2022 · 11 comments
Closed

Baseline Java SE level for EE 11 #553

starksm64 opened this issue Sep 27, 2022 · 11 comments
Labels
EE11 Jakarta EE 11 Release jea-linked Linked in jakarta-ee-azdo project

Comments

@starksm64
Copy link
Contributor

starksm64 commented Sep 27, 2022

Is your feature request related to a problem? Please describe.
We need to define the minimum language level of Java SE to use for the EE 11 release.

Describe the solution you'd like
The minimum runtime needs to be defined with an open ended upper bound

Describe alternatives you've considered
The Oracle Java SE Support Roadmap has the following recent and near term LTS targets:

LTS Release GA Date Initial EOL
11 September 2018 September 2023
17 September 2021 September 2026
21 September 2023 September 2028

11 seems a non-starter as it begins EOL ramp-down in the timeframe of an EE 11 release.

Additional context
EE 10 Java SE discussion TBD

@starksm64 starksm64 added the EE11 Jakarta EE 11 Release label Sep 27, 2022
@anbusampath
Copy link
Contributor

If Jakarta EE 11 is going to take another 15-18 months to get released. Java 21 makes more ideal choice for EE 11 baseline.

@hantsy
Copy link

hantsy commented Oct 10, 2022 via email

@smillidge
Copy link
Contributor

Steering committee is also considering this question as part of the narrative for EE 11 as it also ties heavily into release cadence/ release date. This will go to a committee vote soon current options developing are;

Q4 2023 12 months ( 1 year cadence) - JDK 17
Q1 2024 Java LTS + 6 months (then a 2 year cadence) - JDK 21
Q4 2024 24 months (2 year cadence) - JDK 21

@cesarhernandezgt
Copy link

I think Java 11 should be included in the equation since vendors [1] other than Oracle are also showing initial EOL support until 2026/2027. Just the latest update over Java SE 8 shows 2030.

I think setting a higher baseline like JDK 21 can reduce the adoption of end-users for Jakarta EE 11.

Also the 2022 Jakarta EE Developer Survey Report shows that Java 11 is still relevant:

Despite being released less than a year ago, use of Java 17 (the LTS release of Java SE) has
surged to 26%. Java 11 use remains steady at 57% (58% in 2021).

From a Java SE feature point of view, I +1 the proposal Scott made via #561 to collect feedback from specification projects about what they expect to target for EE 11. This will provide more information to have an assertive Java SE baseline for EE 11.

[1]
https://www.azul.com/products/azul-support-roadmap/
https://bell-sw.com/roadmap/
https://aws.amazon.com/corretto/faqs/

@aeiras
Copy link

aeiras commented Jan 3, 2023

Hola and happy/healthy 2023 @starksm64! :)

Is there a plan to send this issue to the platform mailing list?
There are only 47 watchers on this repo... lacking proper exposure IMO. Thank you for starting the public discussion.

@hantsy
Copy link

hantsy commented Jan 4, 2023 via email

@dmatej
Copy link

dmatej commented Jan 7, 2023

Yet one note about statistics and feedback - people who already abandoned JEE don't provide any feedback. They are simply gone and we have to prove that JEE is modern and sustainable in long term. Then they would consider to go back to us. So all feedbacks are biased.

JDK 11 is a dying horse now, people demanding it's support often want also support of GlassFish 6, not GF7+. We need to make migrations easy, well documented, testable, but not to try to conservate the state.

Also JDK8/11 leads to wrong assumptions in our code, which then doesn't work on production with newer Java versions. Reflections, module-info, modules, all these things significantly changed between 11 and 17 and they are the more visible the more far you are from the library, ie. when you use ear module with wars and jars inside, osgi, and at the bottom is some JEE jar file. Unit tests are unable to detect these issues because they see everything. But the TCK tests will, and newer JDK versions are more strict.

Finalizers will be gone, Security Manager will be gone, etc.

If there is a demand for the support of older JEE releases, it is alright, but someone has to do it and pay for it. Main JEE development should be driven by sustainable, maintainable modernization, not by nostalgia.

@smillidge
Copy link
Contributor

Steering committee resolution yesterday was to recommend 21 as a baseline for Jakarta EE 11 with a target GA date of Q1 2024.

@hantsy
Copy link

hantsy commented Apr 20, 2023

Oh, it seems the Jakarta EE 11 is still in progress, I can not find a confirmed feature list till now.

But JDK 21 will be released soon.

If Jakarta EE 11 is released in 2024 or later, use Java/JDK 21 directly.

@ivargrimstad
Copy link
Member

Oh, it seems the Jakarta EE 11 is still in progress, I can not find a confirmed feature list till now.

But JDK 21 will be released soon.

If Jakarta EE 11 is released in 2024 or later, use Java/JDK 21 directly.

The current plan is to release Jakarta EE 11 in Q1, 2024 with Java SE 21 as a baseline

@hantsy
Copy link

hantsy commented Apr 20, 2023

Oh, Java 11 -> Java 21 is a big jump. We have a lot of features in Java SE 21 should be considered in Jakarta EE now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EE11 Jakarta EE 11 Release jea-linked Linked in jakarta-ee-azdo project
Projects
None yet
Development

No branches or pull requests

9 participants