Guice

Guice (pronounced 'juice') is a lightweight dependency injection framework for Java 11 and above, brought to you by Google. (by google)

Guice Alternatives

Similar projects and alternatives to Guice

  1. rust

    2,799 Guice VS rust

    Empowering everyone to build reliable and efficient software.

  2. 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.

    Nutrient logo
  3. aws-lambda-java-libs

    Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.

  4. carbon-lang

    Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)

  5. sagan

    103 Guice VS sagan

    Discontinued The spring.io site and reference application

  6. Dagger2

    53 Guice VS Dagger2

    A fast dependency injector for Android and Java.

  7. Design Patterns

    Design patterns implemented in Java

  8. Apache Cassandra

    Apache Cassandra®

  9. 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.

    CodeRabbit logo
  10. picocli

    31 Guice VS picocli

    Picocli is a modern framework for building powerful, user-friendly, GraalVM-enabled command line apps with ease. It supports colors, autocompletion, subcommands, and more. In 1 source file so apps can include as source & avoid adding a dependency. Written in Java, usable from Groovy, Kotlin, Scala, etc.

  11. Apache Tomcat

    Apache Tomcat

  12. rune

    22 Guice VS rune

    An embeddable dynamic programming language for Rust. (by rune-rs)

  13. rune

    18 Guice VS rune

    Rune is a programming language developed to test ideas for improving security and efficiency.

  14. minikeyvalue

    A distributed key value store in under 1000 lines. Used in production at comma.ai

  15. Mockneat

    MockNeat - the modern faker lib.

  16. HK2

    0 Guice VS HK2
  17. butterknife

    2 Guice VS butterknife

    Bind Android views and callbacks to fields and methods.

  18. Weld

    4 Guice VS Weld

    Weld, including integrations for Servlet containers and Java SE, examples and documentation (by weld)

  19. Apache DeltaSpike

    Mirror of Apache Deltaspike

  20. Dynamic CDI

    Dynamic Context Dependency Injection

  21. Feather

    2 Guice VS Feather

    Lightweight dependency injection for Java and Android (JSR-330) (by zsoltherpai)

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Guice alternative or higher similarity.

Guice discussion

Log in or Post with

Guice reviews and mentions

Posts with mentions or reviews of Guice. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • Hexagonal Architecture/Ports And Adapters: Clarifying Key Concepts Using Go
    1 project | dev.to | 21 Mar 2024
    Historically, 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.
  • Inversion of Control Containers and the Dependency Injection Pattern (2004)
    2 projects | news.ycombinator.com | 21 Feb 2024
    “There are many advantages to using dependency injection, but doing so manually often leads to a large amount of boilerplate code to be written. Guice is a framework that makes it possible to write code that uses dependency injection without the hassle of writing much of that boilerplate code”

    This is a common misconception. Guice’s docs delineate between dependency injection as a pattern and Guice as a framework that supports that pattern.

    https://github.com/google/guice/wiki

  • How to dependency injection
    1 project | /r/learnjava | 30 May 2023
  • Why dependency injection?
    1 project | /r/java | 11 Apr 2023
    You can (and it's very normal to) use that with new. Dependency injection frameworks (like guice) let you skip passing long parameter lists to constructor arguments like you mention. But you don't really NEED that. They also will solve circular dependency issues and some other things, although a strong argument could be made that you should simply restructure your code so that those issues don't exist.
  • Bob Lee, Former CTO Square, Creator of CashApp, Stabbed to Death in SF
    1 project | news.ycombinator.com | 5 Apr 2023
    Bob was a nice guy. We had an overlapping tenure at Google in the 2000s. He was one of the original authors of the Guice dependency injection framework: https://github.com/google/guice. When I was earning Java readability at Google, I was fortunate to have had him assigned as a reviewer. Huge loss; he left a very positive impression on me.
  • Bob Lee Was Killed
    1 project | news.ycombinator.com | 4 Apr 2023
    He was fairly well known figure in the Java world. RIP.

    [1] https://github.com/google/guice

  • Handling two contexts
    2 projects | /r/golang | 28 Mar 2023
    Usually each context has a different scope and lifetime associated with it. Here, it sounds like there are two distinct scopes: server and request (cf. how Guice models scopes: https://github.com/google/guice/wiki/Scopes). It is rarely sensible to merge the scopes or contexts together. If we think about a context, it contains several things:
  • Anyone succeed in running GL5 + Opensearch on FreeBSD?
    1 project | /r/graylog | 22 Mar 2023
  • Dependency Injection in Scala - cake pattern
    4 projects | dev.to | 18 Feb 2023
    using libraries from java world, such as Guice;
  • Dependency injection with AWS Lambdas in java
    4 projects | dev.to | 11 Feb 2023
    As said in the title, we will focus on the dependency inversion principle and one of its application : dependency injection. For production-ready applications, it would be better to rely on a framework and not implement its own container. For it, the java ecosystem have 3 frameworks available : Spring, Guice and Dagger.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic Guice repo stats
31
12,579
7.8
4 days ago

google/guice is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of Guice is Java.


Sponsored
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.
nutrient.io

Did you know that Java is
the 8th most popular programming language
based on number of references?