question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update Libraries to Support Jakarta EE9 bindings

See original GitHub issue

At present, waffle uses the now legacy javax bindings for a number of its services and classes. With Jakarta EE9 and the future Jakarta EE releases, these classes will no longer be useable, as the package names have all migrated from javax.??? to jakarta.???. See:

https://eclipse-foundation.blog/2019/05/03/jakarta-ee-java-trademarks/

For more details on this change. Many of the core implementation libraries are starting to release code which operates on these newer packages, like Spring:

https://spring.io/blog/2021/09/02/a-java-17-and-jakarta-ee-9-baseline-for-spring-framework-6

So this package will start to prevent dependent services from migrating if they have a dependency on Waffle.

The migration itself is very simple, and can be done either via OpenRewrite or via the Javax -> Jakarta migration in IntelliJ. But it does force a hard break in any library. I’m unaware of how actively maintained this library is, and if it’s acceptable to simply make this break, I am happy to make a PR to do so, otherwise in other libraries I’ve migrated I’ve tended to support dual versions of the library at once, where one is an effective copy paste of the other (ie: produce waffle-jna and waffle-jna-jakarta).

You can see your rough level of affected surface area via:

https://github.com/Waffle/waffle/search?q=javax.servlet

Hoping this issue can start a conversation on the best way to resolve this.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mglazercommented, Oct 11, 2022

Yup, I was mistaken when I originally filed this ticket. Nothing to see here.

0reactions
hazendazcommented, Oct 15, 2022

not sure if my email, verizon, or github are having issues. My responses were back in August 28th but shows here as 4 days ago. Strange…

Glad all is well otherwise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jakarta EE 9.1 feature updates :: Open Liberty Docs
The names and version numbers of some of the Open Liberty features that support the Jakarta EE platform are updated for the Jakarta...
Read more >
Support for Jakarta EE 9 (annotations and interfaces ... - GitHub
Support for Jakarta EE 9 (annotations and interfaces in jakarta. ... plus several special-purpose providers and libraries, before we can consider a version ......
Read more >
Jakarta XML Binding 3.0 | The Eclipse Foundation
This Specification Project's Plan Review was covered by the Jakarta EE 9 Plan Review. Please reference that ballot for the official results. Release...
Read more >
Transition from Java EE to Jakarta EE - Oracle Blogs
Updating to the Jakarta EE versions of the APIs is the first small step users ... Jakarta EE 9 will officially require support...
Read more >
Getting Started with Jakarta EE 9: Jakarta Faces (JSF)
Since it is part of the Jakarta Web Profile, you do not need to add any additional libraries to your project, the web...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found