Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 Java Dependency Injection Projects
A fast dependency injector for Android and Java.
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 8 and above, brought to you by Google.Project mention: Listening to test smells | dev.to | 2023-01-02
We might create this singleton, for instance, by using a dependency injection framework like Guice and its @Singleton annotation.
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Bootique is a minimally opinionated platform for modern runnable Java apps.Project mention: Bootique: A minimally opinionated framework for runnable Java apps | news.ycombinator.com | 2022-07-09
A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
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.
Android class dependency visualizer. This tool helps to visualize the current state of the project.Project mention: Source code visualisation tool | reddit.com/r/androiddev | 2023-01-04
Not sure if this does everything you need, but I have used apk-dependency-graph that can show you a graph of classes.
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
Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Weld, including integrations for Servlet containers and Java SE, examples and documentation (by weld)Project mention: Show HN: I finished v5 of a JVM framework I've spent spent half a decade making | news.ycombinator.com | 2022-10-03
Any DI lib would probably work, it depends on your preferences and use cases though.
I'm personally a fan of Weld since its the reference implementation of the CDI spec.
Lightweight dependency injection for Java and Android (JSR-330) (by zsoltherpai)Project mention: Books for more advanced Java developers? | reddit.com/r/java | 2022-08-11
Its not as daunting as it sounds. You can get a complete JSR-330 implementation in only a few hundred lines.
:syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
Mirror of Apache Deltaspike
Dependency injection via APT (source code generation) ala "Server side Dagger DI"Project mention: Java OSS with best code quality you’ve ever seen? | reddit.com/r/java | 2023-01-14
Been building a web service with avaje inject and avaje http lately. It has a very spring-like feel for a DI lib, (Lifecycles, Test annotations) but the libs are tiny and totally reflection free through codegen.
JayWire Dependency Injection
JDK 11 examples and demo projects.
Easy Dependency Injection for Java (by manuel-mauky)Project mention: Simple JavaFx Dependency Injection solution (no FXML) | reddit.com/r/JavaFX | 2022-07-02
I noticed some possible solutions like: https://github.com/manuel-mauky/EasyDI https://www.supernaut.app/SupernautFX/supernaut-user-guide.html https://github.com/torakiki/pdfsam-injector
Starter projects with Spring using Java and Kotlin. Contains modules that covers Security with JWT, Spring with Kotlin, Dependency injection simplified etc.
Micro framework for creating server side applications in Java 17+Project mention: Colesico-framework: Micro framework for creating server side applications in Java 17+ | reddit.com/r/java | 2022-09-08
Fast, lightweight, Spring like, annotation driven IoC frameworkProject mention: Show HN: KevaIoC: Lightweight Spring-Like Java IoC Framework | news.ycombinator.com | 2022-03-27
💙 Java DI library for package encapsulationProject mention: Java DI library - Make the class available only to permitted classes. | reddit.com/r/programming | 2022-11-16
modular dagger (by jbock-java)
Dependency injection container for Android
A Java library for implementing the Service Locator design pattern. (by cowwoc)Project mention: Micronaut vs others(Spring Boot, Quarkus and co.) | reddit.com/r/java | 2022-11-10
* https://github.com/cowwoc/pouch shows how I implement ServiceLocator. Any approach is fine, so long as you avoid making the locator a singleton.
Project mention: I made a dependency injector | reddit.com/r/java | 2023-01-30
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java Dependency Injection related posts
Java OSS with best code quality you’ve ever seen?
3 projects | reddit.com/r/java | 14 Jan 2023
Listening to test smells
1 project | dev.to | 2 Jan 2023
ᚣ the Rune Programming Language
6 projects | news.ycombinator.com | 26 Nov 2022
Ownership as explained in the Rust book
1 project | reddit.com/r/rust | 31 Oct 2022
Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
4 projects | news.ycombinator.com | 3 Oct 2022
Why is Spring so slow in TechEmpower benchmark?
3 projects | reddit.com/r/java | 20 Sep 2022
Colesico-framework: Micro framework for creating server side applications in Java 17+
1 project | reddit.com/r/java | 8 Sep 2022
A note from our sponsor - Sonar
www.sonarsource.com | 1 Feb 2023
What are some of the best open-source Dependency Injection projects in Java? This list will help you: