Dependency injection frameworks

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • WorkOS - The modern API for authentication & user identity.
  • - Learn 300+ open source libraries for free using AI.
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • Useful-Things

    My opinions on common Java libraries, reverse engineering guides, and some assorted other tips

    I have an example project implemented with a variety of DI frameworks if you want concrete code samples:

  • avaje-inject

    Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"

    Have you tried out Avaje inject? It's currently my favorite DI lib.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • simple-component

    Basic dependency injection tool

    I just started another "dagger style" one because dagger annoys me (too many features, "surprising" scoping rules, too many classes generated, typecasts in generated code): simple-component

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts