Dependency injection frameworks

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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 identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • 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