google/guice
Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 98
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4480
- days_rel: n/a
- days_push: 12
- n_releases_24m: 0
Adoption not part of the score
12732 stars · 1680 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Guice is a lightweight dependency injection framework for Java 11+, developed by Google. It eliminates the need for manual factories and 'new' calls by wiring dependencies via type-safe @Inject annotations.
Use cases
- inject dependencies into java classes without factories
- make java code easier to unit test with mockable dependencies
- wire up services in a large java application
- replace manual singleton and factory patterns with annotation-based DI
- manage javax vs jakarta injection annotations across java versions
When to choose
- you want a mature, battle-tested DI framework for Java with Google backing
- your project uses javax.inject or jakarta.inject annotations
- you prefer type-safe, annotation-driven wiring over XML configuration
- you need helpful error messages and extensibility in a DI container
When to avoid
- you are using Spring and want its full ecosystem (web, data, security) rather than just DI
- you need compile-time dependency injection like Dagger for Android or GraalVM native images
- your project targets Java versions below 11
- you want CDI-compliant enterprise dependency injection
Facets
framework · maturity stable
middleware developer-tools testing developer-tools backend web-development jvm cross-platform dependency-injection java google ioc jakarta javax
2 sources
- readme: https://github.com/google/guice · fetched 2026-08-28 · 24bd0bd854af
- homepage: https://github.com/google/guice · fetched 2026-08-29 · af01d97b605b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/guice | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem