GlassFish HK2

Last updated
HK2
Developer(s) Eclipse Foundation
Stable release
3.1.1 / July 4, 2024;8 months ago (2024-07-04)
Repository
Operating system Cross-platform
Available inJava 6 or Higher
Type Dependency Injection Kernel
License Eclipse Public License 2.0 or GPL v2 w/Classpath exception
Website eclipse-ee4j.github.io/glassfish-hk2/   OOjs UI icon edit-ltr-progressive.svg

HK2(Hundred-Kilobyte Kernel) is a light-weight and dynamic dependency injection framework and is a part of the GlassFish Application Server.

HK2 complies with JSR 330 (Dependency Injection for Java). It has useful utilities for marking classes as services and interfaces as contracts. [1]

Some of the features of HK2 DI Kernel are

References

  1. 1 2 "HK2 - Dependency Injection Kernel". javaee.github.io. Retrieved 2017-11-19.