SaaSHub helps you find the best software and product alternatives Learn more โ
Top 23 Java Dependency Injection Projects
-
Dagger is a compile-time dependency injection tool widely used in Java and Kotlin. Although not officially supported in Go, some developers have experimented with using it.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Guice
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google.
Project mention: Hexagonal Architecture/Ports And Adapters: Clarifying Key Concepts Using Go | dev.to | 2024-03-21Historically, Ports and Adapters was born in the context where Dependency Inversion Principle (DIP) was getting hot, back in the beginning of the 2000โs. DIP was getting more present on development day to day, and an example of a framework that was a pioneer in such topic is Google Guice.
-
-
-
ActiveJ
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web and high-load programming in Java, providing simplicity, maximum performance and scalability
-
Governator
Governator is a library of extensions and utilities that enhance Google Guice to provide: classpath scanning and automatic binding, lifecycle management, configuration to field mapping, field validation and parallelized object warmup.
-
apk-dependency-graph
Android class dependency visualizer. This tool helps to visualize the current state of the project.
-
Nutrient
Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrientโs PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
-
Weld
Weld, including integrations for Servlet containers and Java SE, examples and documentation (by weld)
-
-
-
-
-
java-spring-best-practices
A repository dedicated to showcasing best practices in Java and Spring through concise code snippets.
๐ Check out the repo for code samples and insights: https://github.com/agitrubard/java-spring-best-practices/tree/main/guardclause
-
-
-
-
spring-examples
Starter projects with Spring using Java and Kotlin. Contains modules that covers Security with JWT, Spring with Kotlin, Dependency injection simplified etc.
-
-
-
-
-
mockito-object-injection
Mockito Object Injection for JUnit5. Inject Strings and other Objects directly into Mocks without needing setters or constructor injection.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java Dependency Injection discussion
Java Dependency Injection related posts
-
Hexagonal Architecture/Ports And Adapters: Clarifying Key Concepts Using Go
-
Inversion of Control Containers and the Dependency Injection Pattern (2004)
-
Dagger 2.49 (KSP, @AssistedInject with @HiltViewModel, more)
-
Apt-based dependency injection for server-side developers
-
Dagger 2.48 adds alpha KSP support
-
Is dependency injection really a hard topic ? Or am i just dumb ?
-
Avaje Inject - Microservice Focused DI via Annotation Processing
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 Feb 2025
Index
What are some of the best open-source Dependency Injection projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | Dagger2 | 17,494 |
2 | Guice | 12,558 |
3 | Bootique | 1,414 |
4 | Toothpick | 1,124 |
5 | ActiveJ | 903 |
6 | Governator | 827 |
7 | apk-dependency-graph | 755 |
8 | Weld | 387 |
9 | Feather | 357 |
10 | avaje-inject | 251 |
11 | transfuse | 220 |
12 | Apache DeltaSpike | 151 |
13 | java-spring-best-practices | 104 |
14 | java-11-examples | 60 |
15 | JayWire | 57 |
16 | EasyDI | 52 |
17 | spring-examples | 37 |
18 | FlexiCore | 24 |
19 | backbonefx | 19 |
20 | pouch | 17 |
21 | colesico-framework | 15 |
22 | mockito-object-injection | 8 |
23 | Jvault | 5 |