For a dependency injection framework for Java, the strongest matches are google/guice (Guice is a comprehensive Java dependency injection framework that), spring-projects/spring-framework (Spring Framework is the industry-standard Java dependency injection container) and derekyrc/mini-spring (This is a lightweight Java dependency injection framework that). square/dagger and fuzhengwei/small-spring round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Curamos repositorios de código abierto en GitHub que coinciden con “best java dependency injection libraries”. Los resultados están clasificados por relevancia según tu búsqueda; usa los filtros de abajo para acotar o refina con IA.
Guice is a Java dependency injection framework and component container. It automates object wiring by mapping interfaces to implementations via a central injector, removing the need for manual factory patterns and constructor calls. The framework provides specialized support for aspect-oriented programming, allowing for the interception and modification of method execution to implement shared cross-cutting concerns. It also functions as a persistence manager to coordinate transaction boundaries and manage the lifecycle of entity managers within a dependency-injected environment. Its core cap
Guice is a comprehensive Java dependency injection framework that provides a robust Inversion of Control container, full support for annotation-based configuration, and flexible constructor injection to manage object lifecycles.
Spring Framework is an enterprise Java framework providing a comprehensive infrastructure for building server-side applications. It functions as a dependency injection container and a Java application framework designed to support scalable backend development through modular architecture. The project provides tools for aspect-oriented programming to intercept method calls using dynamic proxies, allowing the application of cross-cutting concerns such as security and transactions. It also includes a centralized system for managing object lifecycles and coordinating component wiring by injecting
Spring Framework is the industry-standard Java dependency injection container that provides comprehensive support for annotation-based configuration, constructor injection, and robust lifecycle management.
mini-spring is a Java dependency injection framework and inversion of control container. It manages the full lifecycle of beans, including instantiation, property population, and scope management, while providing a system for automating the wiring of components. The project implements a Java AOP framework that uses dynamic proxies to intercept method calls for cross-cutting logic. It also functions as a Java component scanner to automatically discover and register managed objects via annotations and as a Java event bus to decouple components through a publish-subscribe multicast system. The
This is a lightweight Java dependency injection framework that provides an Inversion of Control container, annotation-based configuration, and lifecycle management for beans, directly addressing your requirements.
Dagger is a compile-time dependency injection framework for Java and Android that automates object creation and lifecycle management. It functions as a static dependency injector and graph validator, resolving object requirements during the build process to avoid runtime reflection and prevent crashes caused by missing bindings. The framework distinguishes itself by using static analysis and code generation to produce factory classes at build time. It employs qualifier-based type differentiation to manage multiple implementations of the same type and provides scope-based lifecycle management
Dagger is a compile-time dependency injection framework for Java that provides an Inversion of Control container, supports constructor injection, and uses annotation-based configuration to manage object lifecycles without runtime reflection.
Small-Spring is a simplified Java implementation of the Spring framework designed to study the internal architecture of inversion of control containers and dependency injection frameworks. It functions as a bean container that manages object lifecycles and resolves dependencies through automated instantiation and property injection. The project implements a mechanism for intercepting method calls using dynamic proxies to support aspect-oriented programming. It separates cross-cutting concerns from business logic by wrapping target objects to modify method executions. The system covers compon
Small-Spring is a simplified educational implementation of an Inversion of Control container that provides core dependency injection and bean lifecycle management, making it a functional, albeit minimalist, example of the requested category.
tiny-spring is a Java inversion of control container and aspect-oriented programming framework. It provides a system for managing object lifecycles and dependency injection to decouple application components. The project features a bytecode proxy generator that enables method interception and behavioral modification for classes that do not implement interfaces. It uses pointcut expressions to match specific classes and methods for the execution of cross-cutting logic via dynamic proxies. The framework manages singleton components and resolves object dependencies using lazy initialization. Ap
This is a lightweight Java inversion of control container that provides core dependency injection and lifecycle management, serving as a functional implementation of the requested design pattern.
RoboGuice is a dependency injection library based on Google Guice, specifically designed for Android applications. It functions as an annotation-processed dependency injection container that automates the delivery of system services and application dependencies into Android components to reduce boilerplate code. The project uses annotation processing to optimize application startup times and initialization. By utilizing compile-time bytecode generation, it reduces the overhead typically associated with runtime reflection during the initialization of the dependency container. The framework ma
RoboGuice is a dependency injection framework built on Google Guice that provides annotation-based wiring and lifecycle management specifically tailored for the Android environment.
Spring Boot is an opinionated application framework designed to streamline the creation of production-ready services. It functions as a comprehensive development platform that utilizes a centralized dependency injection container to manage object lifecycles and wiring. By employing convention-over-configuration, the framework automates the instantiation of components based on the presence of specific libraries and configuration properties, significantly reducing the need for manual setup. The framework distinguishes itself by bundling the application and its web server into a single, self-con
Spring Boot is a comprehensive Java application framework that centers on a robust dependency injection container, providing full support for annotation-based configuration, constructor injection, and automated object lifecycle management.
AndroidAnnotations is a boilerplate generator and component annotation library designed for Android development. It functions as a dependency injection framework that uses custom annotations to automate the wiring of activities, fragments, and services. The project focuses on reducing manual plumbing through the automation of Android boilerplate. It provides automated solutions for dependency injection and view binding, removing the need for repetitive calls to locate UI elements or manually write factory classes. The library covers activity lifecycle management and the generation of standar
This library provides an annotation-based dependency injection framework specifically tailored for the Android ecosystem, automating object wiring and lifecycle management through compile-time code generation.
Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications. It utilizes ahead-of-time native compilation to transform Java code into standalone, optimized binaries that eliminate the need for a virtual machine, enabling rapid startup and reduced memory consumption. By performing code augmentation during the build phase, it shifts heavy processing tasks away from runtime, ensuring that applications are optimized for cloud-native environments. The framework distinguishes itself through a unified approach to reactive and imperative program
Quarkus is a full-stack Java framework that includes a robust, annotation-driven dependency injection container based on CDI, which performs dependency resolution at build time to optimize application startup and memory usage.
| Repositorio | Estrellas | Lenguaje | Licencia | Último push |
|---|---|---|---|---|
| google/guice | 12.7K | Java | Apache-2.0 | |
| spring-projects/spring-framework | 60.1K | Java | Apache-2.0 | |
| derekyrc/mini-spring | 6.4K | Java | Apache-2.0 | |
| square/dagger | 7.3K | Java | Apache-2.0 | |
| fuzhengwei/small-spring | 4.9K | Java | Apache-2.0 | |
| code4craft/tiny-spring | 4.1K | Java | Apache-2.0 | |
| roboguice/roboguice | 3.7K | Java | NOASSERTION | |
| spring-projects/spring-boot | 80.9K | Java | Apache-2.0 | |
| excilys/androidannotations | 11K | Java | NOASSERTION | |
| quarkusio/quarkus | 15.5K | Java | apache-2.0 |