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

Update obsoleted HK2 related part in the documentation #25008

Open
dmatej opened this issue Jun 26, 2024 · 3 comments
Open

Update obsoleted HK2 related part in the documentation #25008

dmatej opened this issue Jun 26, 2024 · 3 comments

Comments

@dmatej
Copy link
Contributor

dmatej commented Jun 26, 2024

See link: https://glassfish.org/docs/SNAPSHOT/add-on-component-development-guide.html#hk2-lifecycle-interfaces

  • Those links to java.net don't exist any more
  • org.jvnet.hk2.component packages don't exist too, I assume they were replaced by Jakarta Annotations? Or by hk2-api module.
@avpinchuk
Copy link
Contributor

@hantsy
Copy link

hantsy commented Dec 26, 2024

If possible release a CDI-based version instead of the HK2.

@OndroMih
Copy link
Contributor

CDI support is not applicable here. This is about building modules installed into the GlassFish server, not included in apps. For performance reasons, it’s better to use HK2, which supports build-time optimizations.

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

No branches or pull requests

4 participants