Jooby
Micronaut
Our great sponsors
Jooby | Micronaut | |
---|---|---|
13 | 50 | |
1,658 | 5,942 | |
1.0% | 0.4% | |
9.7 | 9.8 | |
1 day ago | 3 days ago | |
Java | Java | |
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.
Jooby
-
Javalin β a simple web framework for Java and Kotlin
One of the good things about it is that using asynchrony is optional. If you don't have to call out anywhere to build the response, processing can all stay in the handler's calling thread. If you do, you can return a future and have the library handle the async for you.
One downside is that it is based on Jetty which isn't considered the most performant backend. A lib with a similar API but based on Netty is Jooby [1] which scores well in the Techempower benchmarks.
[1] - https://jooby.io/
-
Is the Spring framework too heavy and over-designed?
Jooby and Helidon SE are among the best.
-
RIFE2 web framework under development
The code snippet gave me a vibe like it was jooby Looks cool, I suggest maybe start incorporating Project Loom virtual threads in the future.
- Java modern frameworks choice
- Latest version of Microhttp, an event-driven, zero-dependency, pure-Java web server with 500 LOC, capable of 1,000,000+ requests per second on commodity EC2 hardware.
-
The Flask Mega-Tutorial
Speaking of backend development, recently I gave Jooby[1] a try after discovering it was one of the world's top performer in Tech Empower's web framework benchmark[2].
Surprisingly enough, it's terribly easy to put together a REST API with Jooby. I wonder why it's adoption rate is so low.
-
What is the current state of the art for efficiently handling blocking requests in Java/Spring?
Do you need to use Spring btw? If you want to broaden the tool selection I've had great success with i.e Jooby (https://jooby.io/) together with Kotlin coroutines. Another alternative is the KTOR framework.
-
Java Equivalent of Express.js for REST
Jooby I think is the best bet. https://jooby.io/ watch out for jooby dot org I think someone sniped the domain.
-
There is no magic in Spring, I wrote my own (very simplified) framework from scratch to show it
Personally I find it extremely difficult to read and use code that uses ASM directly vs ByteBuddy or some wrapper library. For example take a peak at this: https://github.com/jooby-project/jooby/blob/2.x/modules/jooby-apt/src/main/java/io/jooby/internal/apt/HandlerCompiler.java
-
What would you use to start a new HTTP + SSR project with Java today?
[4] https://jooby.io/
Micronaut
-
Javalin β a simple web framework for Java and Kotlin
Micronaut has a share of the space too.
However, youβre right that Spring Boot has the lions share of the Java ecosystem.
-
Spark β A web micro framework for Java and Kotlin
I've used vert.x in a big project once. I don't ever want to do that again. Performance is pretty good, but the developer experience is beyond clunky.
My current favourite Java server framework is Micronaut.
Great performance and easy to develop for!
- Java 21 Released
-
Java consumes 38x less energy than Python
I wonder how much you'd save with Micronaut: https://micronaut.io/
> Micronaut is a software framework for the Java virtual machine platform. It is designed to avoid reflection, thus reducing memory consumption and improving start times. Features which would typically be implemented at run-time are instead pre-computed at compile time.
https://en.wikipedia.org/wiki/Micronaut_(framework)
I don't think you'd go down to 9, but something like 20-30 could be doable.
-
mlfx FXML compiler
I'd like to introduce my project. It is called mlfx. It can compile FXML ahead of time. It is basically an annotation processor, which internally uses Micronaut framework's AST abstraction and compiles fxml files directly to JVM bytecode. This decreases UI load time and also helps with native-image reflection configs. It also has some compliance tests that load compiled code and check resulting object graph against one loaded by javafx-xml. It also has some drawbacks now, but, please, read README. Now I'm successfully using it in two production projects.
-
What other programming languages/frameworks do you enjoy besides c#/dotnet?
https://micronaut.io/ https://quarkus.io/
-
Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
when it comes to full stack frameworks, Micronaut(https://micronaut.io/) is actually good and pleasant to work with.
-
Tech-stack for web application using Kotlin?
For the server Quarkus and Micronaut might be interesting besides Spring Boot. Quarkus is more popular and backed by RedHat (so probably here to stay).
-
Top 5 Server-Side Frameworks for Kotlin in 2022: Micronaut
π₯ Spring Boot π₯ Quarkus π₯ Micronaut π Ktor π http4k
-
What are some of the biggest problems you personally face in Java?
Have you looked into using Micronaut or Quarkus with GraalVM? It will help with startup time. Take a look at this Micronaut guide if youβre interested
What are some alternatives?
Quarkus - Quarkus: Supersonic Subatomic Java.
Spring Boot - Spring Boot
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Nacos - an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
Spring - Spring Framework
JaCoCo - :microscope: Java Code Coverage Library