Jooby
javalin.github.io
Jooby | javalin.github.io | |
---|---|---|
13 | 27 | |
1,660 | 35 | |
0.4% | - | |
9.6 | 8.2 | |
3 days ago | 17 days ago | |
Java | HTML | |
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/
- Jooby Web Framework for JVM
-
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.
[1] https://jooby.io/
[2] https://www.techempower.com/benchmarks/
-
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.
-
Fully Static Java Webserver - Is this a bad idea?
Spring Boot or JAXRS. I personally use Jooby a lot which is similar in style to spark but has annotation support and isn't a singleton.
javalin.github.io
- Java EE or Python Django?
- Javalin – a simple web framework for Java and Kotlin
- Spark – A web micro framework for Java and Kotlin
- Javalin: A simple web framework for Java and Kotlin
-
Show HN: Zero-dependency Java framework out of beta
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa...
Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm.
I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/
Aside from that, I've also had good experiences with Dropwizard - which is way simpler than Spring Boot but at the same time uses a bunch of idiomatic packages (like Jetty, Jersey, Jackson, Logback and so on): https://www.dropwizard.io/en/stable/
I do wonder whether Minum would ever end up on the TechEmpower benchmarks and how it'd stack up against the other libraries/frameworks there, those benchmarks are pretty interesting.
- Java 21 Released
-
Helidon Níma is the first Java microservices framework based on virtual threads
Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations.
-
Full Time
Yes, and it was not that well designed to be honest... the successor is quite a lot nicer and it's called Javalin[1].
Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues.
[1] https://javalin.io/
[2] https://sinatrarb.com/
- Show HN: Java REST without annotations, DI nor reactive streams
-
Is it just me, or does the Spring Framework lead to hard-to-maintain code and confusion with annotations?
I strongly advocate frameworks like https://javalin.io/ and Jooq (https://www.jooq.org/) if you are going to start a new project in Java.
What are some alternatives?
Spring Boot - Spring Boot
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
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
minum - A minimalist Java web framework built from scratch
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Spring - Spring Framework
jbang - Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
Quarkus - Quarkus: Supersonic Subatomic Java.
undertow-examples