|12 months ago||7 days ago|
|Apache License 2.0||Apache License 2.0|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
We haven't tracked posts mentioning Dynamic CDI yet.
Tracking mentions began in Dec 2020.
Ask HN: Google Guice another abandonware from Google?
2 projects | news.ycombinator.com | 17 Jan 2022
What is something you made in Java to automate/make your job easier?
12 projects | reddit.com/r/java | 24 Dec 2021
... with guice or Spring Boot,
How to create an object with reference to current object?
1 project | reddit.com/r/javahelp | 9 Nov 2021
In this approach you defer instantiation of the Logic class to Guice using assisted injection to get the this reference. It's preferable for objects to not directly instantiate the objects they use because it creates a situation where, if you need to change the way a particular class is instantiated, you have to hunt down everywhere in the code base it's being created and update it. Better is to centralize all of that into Guice modules so all of that logic is collected together in one place.
About design patterns: Dependency Injection
2 projects | dev.to | 13 Oct 2021
The following section is an example of injecting our service using Guice, a dependency injection framework for Java made by Google. The concept is to reference bindings of every component you can inject in your program, so that the library can generate a class of any type, automatically.
Good tests don't change
1 project | reddit.com/r/programming | 9 Oct 2021
This is from the actual documentation for Guice:
Are Java developers obsessed with annotations?
2 projects | reddit.com/r/java | 29 Jul 2021
But of course there are good Java examples, too! One of them is Guice:
Does anybody has a recommended resource about Dependency Injection?
4 projects | reddit.com/r/csharp | 7 Jul 2021
Vertx, Guice and Config Retriever: Dependency Injection in Vertx 4.x
2 projects | dev.to | 23 Jun 2021
Instance binding = we map a dependency to the specific instance; this is a good choice for simple dependencies, but for bigger it should be avoid, as it will slow down a start up time. We use it in the next section
How to make a class's constructor unit testable when its instantiating a Guice module in it?
1 project | reddit.com/r/javahelp | 11 May 2021
Your code should not be aware of the Guice injector. You should inject the DAO with a Provider.
Guice: Do injections require bindings or interfaces? Do we need to get an instance of the injector?
1 project | reddit.com/r/learnjava | 8 May 2021
Quickly looking over the docs, eager singletons might be a case where you need bindings. The @Singleton annotation seems to be dependent on the stage, lazy in DEVELOPMENT and eager in PRODUCTION, while eagerSingleton() constructs a singleton that is always eager.
What are some alternatives?
Dagger2 - A fast dependency injector for Android and Java.
Weld - Weld, including integrations for Servlet containers and Java SE, examples and documentation
Apache DeltaSpike - Mirror of Apache Deltaspike
butterknife - Bind Android views and callbacks to fields and methods.
Feather - Lightweight dependency injection for Java and Android (JSR-330)
Toothpick - A scope tree based Dependency Injection (DI) library for Java / Kotlin / Android.
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.