What is Avaje Inject?
masterAvaje Inject is an Annotation Processing Tool (APT) based dependency injection framework designed specifically for server-side developers. It uses Java annotation processing to generate source code at compile time, which avoids the use of reflection or classpath scanning. This results in low overhead and fast startup times, making it highly suitable for microservices.
Key characteristics:
- Compile-time DI: Uses APT to generate wiring code.
- Zero Reflection: No reflection or classpath scanning is used at runtime.
- Library-only: It is a lightweight DI library (~25k in size) with minimal dependencies.