Useful-Things
avaje-inject


Useful-Things | avaje-inject | |
---|---|---|
11 | 19 | |
85 | 252 | |
- | 3.2% | |
2.4 | 9.5 | |
over 1 year ago | 1 day ago | |
Java | Java | |
- | 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.
Useful-Things
-
How do I package javafx jars in my jar so that I can run it without vm arguments ?
Creating fat-jar's for maven/gradle projects each release using automated CI (Like GitHub Actions, or Jenkins)
-
JavaFX runtime components are missing, and are required to run this application. For MacBook Air m2
You can refer to my example demonstrating the fix if you want a visual here: https://github.com/Col-E/Useful-Things/tree/master/tutorials/javafx/maven-setup/src/main/java/org/example
-
Dependency injection frameworks
On the other side, I think you did a really good job illustrating how DI works with this document.
-
IntelliJ JavaFX Template is trash
No, just use a normal Java template for Maven/Gradle and add JavaFX as a dependency. I have examples here: https://github.com/Col-E/Useful-Things/tree/master/tutorials/javafx
-
How do I package my app into a jar file
JavaFX FatJar with Maven
-
Where can I download JavaFX 11 or 17, or how do I get 18 to work on IntelliJ?
Using Maven, declare JavaFX as a dependency
-
Is JafaFX no longer available in eclipse market place? I’m following a JavaFx tutorial from 2020 and it’s showing to search for it in marketplace but all that’s showing up is Gluon
If the steps are confusing, I have a maven empty demo project here: https://github.com/Col-E/Useful-Things/tree/master/tutorials/javafx/maven-setup
-
Java: "write once, run everywhere" vs "build once, run everywhere"
You can make a sorta kinda "Multi-platform" JavaFX jar, but only for one architecture per OS. Their dll/so/dylib path names all conflict which is infuriating.
-
Javafx Problem with creating jar file
I typically roll with a standard fatJar plugin. I made a short guide for somebody before. Is that the direction you were looking for?
-
Using Kotlin as "better syntax" - compatibility pitfalls?
Check the reddit links in this post.
avaje-inject
- 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/
What are some alternatives?
javafx-template - A template project for a modularized JavaFX application with a bundled runtime
znai - Build functional, maintainable, beautiful User Guides with markdown and Znai plugins. Instant pages navigation. Local search. Multiple integrations to work with Python, Java, C++, OpenAPI, etc. Transform "getting started" sections into slideshow for your workshops. Manage multiple documentations with self-deployed znai hub.
opal - Plays relaxing music in the background
moditect - Tooling for the Java Module System
FlashBuddy
auto-value
simple-component - Basic dependency injection tool
avaje-jsonb - java json binding library via source code generation
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
spring-examples - Starter projects with Spring using Java and Kotlin. Contains modules that covers Security with JWT, Spring with Kotlin, Dependency injection simplified etc.
LogFX - LogFX is a simple Log reader supporting color highlighting and able to handle giant files.
dapper - modular dagger

