shadow
annotation processor api (by LukasDetermann)
avaje-inject
Dependency injection via APT (source code generation) ala "Server-Side Dagger DI" (by avaje)
shadow | avaje-inject | |
---|---|---|
6 | 19 | |
19 | 197 | |
- | 3.0% | |
8.5 | 9.3 | |
about 1 month ago | 1 day ago | |
Java | Java | |
MIT License | 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.
shadow
Posts with mentions or reviews of shadow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-20.
-
Why people misuse inheritance
nice writeup on a nice problem. In java you can just use a dynamic Proxy. If you cant or dont want to use reflection you could create an abstract class that only contains your proxy logic and write an annotation processor to extend the abstract class and delegate. if you do that you could give a lib that i wrote a try. i tries to make annotation processing easier.
-
Feedback on a new annotation processor api
I am going to look into explaining that better in the doc. You can call any method at any time. the methods that lookup, for example an annotated element, have different Scopes in which they look.
-
Feedback on first open source project, an annotation processing api
Hello, I created an API that aims to make annotation processing simpler. Feedback and suggestions are welcome github maven central
- better annotation processing api for java
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/