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.

Support for jakarta annotations

See original GitHub issue

Do you have any time estimations for supporting jakarta.* annotations? We want to migrate to Jersey 3 but it’s impossible because GuiceFilter implements javax.servlet.Filter. Another problem is #1383.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:7
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kashikecommented, Feb 19, 2021
0reactions
samebcommented, Sep 29, 2022

Ugh, what a horrible mess. Silly IBM.

The proposed pull request is both invasive (on the core guice side), and a huge pit of code duplication (on the servlet extension side).

For servlet, I honestly think the best outcome is for someone else to create and host it. I’d be happy to point to it from any “official” docs. But us bundling it seems like a bad idea. The existing servlet extension already has bugs, and we don’t really maintain it except for keeping it compiling. Someone could probably fork it and make it much better already. I’m loathe to copy/paste and search/replace a large swathe of code, especially when it will have zero ongoing usages that we can validate.

As for the annotation/provider support… it adds a bunch of SPI classes and API methods. It’s not all that appealing.

@mcculls – what are y’all doing with Maven? Is this impacting you?

Let me talk to a few folks internally and see what the deal is. I imagine this impacts Dagger too?

What a gross situation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jakarta Annotations
The PostConstruct annotation is used on a method that needs to be executed after dependency injection is done to perform any initialization.
Read more >
Jakarta Annotations - Eclipse Foundation
Jakarta Annotations ™ defines a collection of annotations representing common semantic concepts that enable a declarative style of programming that applies ...
Read more >
Support for Jakarta EE 9 (annotations and interfaces ... - GitHub
Our upcoming Spring Framework 5.3 generation will be compatible with Java 8+ and based on the javax-namespaced EE 8 APIs still, for immediate...
Read more >
Jakarta Annotations Reference (v6.0) - DataNucleus
Jakarta Persistence provides the ability to use annotations to define the persistence of entities, and DataNucleus Jakarta supports Jakarta, ...
Read more >
Support jakarta Nullability annotations : KT-54205
Support jakarta Nullability annotations · In short, javax.annotation. · This is a smaller request than https://youtrack.jetbrains.com/issue/KT-54081/Support- ...
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