avaje-inject
Dependency injection via APT (source code generation) ala "Server-Side Dagger DI" (by avaje)
Awaitility
Awaitility is a small Java DSL for synchronizing asynchronous operations (by awaitility)
avaje-inject | Awaitility | |
---|---|---|
19 | 7 | |
195 | 3,702 | |
2.1% | 0.9% | |
9.3 | 7.1 | |
8 days ago | 27 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
avaje-inject
Posts with mentions or reviews of avaje-inject.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-30.
- Apt-based dependency injection for server-side developers
-
Avaje Inject - Microservice Focused DI via Annotation Processing
Avaje Inject has quickly become one of my favorite libraries. Inject is basically like Dagger if Dagger was focused on server side instead of Android. It's a tiny lib (~76kb) that uses the power of annotation processing to generate DI classes. Recently I've been using it for AWS lambdas and it works pretty great.
-
I wrote a simple, compile-time dependency injection framework
https://avaje.io/inject/ - Implements JSR-330 and JSR-250
-
Dependency injection frameworks
Have you tried out Avaje inject? It's currently my favorite DI lib.
-
Java OSS with best code quality you’ve ever seen?
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.
-
Favorite hidden gem library?
Avaje is pretty cool, it's a compact DI library based on APT. https://github.com/avaje/avaje-inject
-
Why is Spring so slow in TechEmpower benchmark?
Like avaje inject ? DI as source code generation done at build time?
-
Dirk: a new light-weight system for dependency injection
Just to say, I also created a DI library called avaje-inject - https://avaje.io/inject/ ... which uses Java annotation processing to do DI as mostly source code generation. So the runtime dependency is ~ 67Kb. It also supports AOP aspects via source code gen which I think is kind of cool - you can have your own aspects like `@Retry` etc and it's actually done using source code generation.
-
Java SQL code generator. SQL and OOP united finally.
I am a bit fan of using annotation processing (source code generation) to simplify things - DI https://avaje.io/inject/ , JSON binding (https://github.com/avaje/avaje-jsonb) and rest servers and clients (https://avaje.io/http).
-
What is your experience with GraalVM Native?
Dagger2 and avaje-inject are other options (DI as source code generation via annotation processing). https://avaje.io/inject/
Awaitility
Posts with mentions or reviews of Awaitility.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-21.
-
Relearning Java Thread Primitives
I’ve coded in Java since the first beta, even back then threads were at the top of my list of favorite features. Java was the first language to introduce thread support in the language itself, it was a controversial decision back then. In the past decade, every language raced to include async/await and even Java had some third-party support for that… But Java zigged instead of zagging and introduced the far superior virtual threads (project Loom). This post isn’t about that.
-
Favorite hidden gem library?
I hope everybody knows https://github.com/awaitility/awaitility by now.
-
Spring Cloud Stream Kafka Streams Binder + Processor API
And finally the tests, using Awaitility as we are testing asynchronous stuff:
-
AWS SQS with spring boot & Localstack with Junit Testing
awaitability: A tool to express expectations for asynchronous system in an easy and concise manner.
-
Wednesday Links - Edition 2021-05-12
Awaitility with version 4.1.0 comes with fail fast feature (2m read) 🎉 https://github.com/awaitility/awaitility/wiki/Usage#fail-fast-conditions
-
Managing Cluster Membership with Etcd
Given our new functionality to update the membership list, we can create a new test case where two nodes join the cluster and expect that to be reflected in the local state of each node eventually. Thanks to the Awaitility DSL we can conveniently wait for the eventual update to happen.
-
Integrando TestContainers en el contexto de Spring en nuestros tests
Nota: para los que no la conozcáis, await es un operador de awaitility, muy útil para validación de resultados en procesos asíncronos.
What are some alternatives?
When comparing avaje-inject and Awaitility you can also consider the following projects:
auto-value
Spock - The Enterprise-ready testing and specification framework.
spring-examples - Starter projects with Spring using Java and Kotlin. Contains modules that covers Security with JWT, Spring with Kotlin, Dependency injection simplified etc.
REST Assured - Java DSL for easy testing of REST services
Dagger2 - A fast dependency injector for Android and Java.
Mockito - Most popular Mocking framework for unit tests written in Java
Feather - Lightweight dependency injection for Java and Android (JSR-330)
WireMock - A tool for mocking HTTP services
dapper - modular dagger
Selenide - Concise UI Tests with Java!
quarkus-htmx-todos - Todo App in Quarkus with htmx
Selenium
avaje-inject vs auto-value
Awaitility vs Spock
avaje-inject vs spring-examples
Awaitility vs REST Assured
avaje-inject vs Dagger2
Awaitility vs Mockito
avaje-inject vs Feather
Awaitility vs WireMock
avaje-inject vs dapper
Awaitility vs Selenide
avaje-inject vs quarkus-htmx-todos
Awaitility vs Selenium