Dropwizard
Jooby
Dropwizard | Jooby | |
---|---|---|
7 | 13 | |
8,454 | 1,660 | |
0.1% | 0.5% | |
9.6 | 9.6 | |
4 days ago | 7 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.
Dropwizard
- Javalin – a simple web framework for Java and Kotlin
-
Is there any example of a recent dropwizard application?
I'm trying to set up a simple RESTful API with dropwizard that does some basic CRUD with a postgresql database. I've managed to get some endpoints working with dummy responses following the documentation, but I am now quite stuck when it comes to implementing the database functionality. The page about JDBI3 doesn't really help because the example usage doesn't match with the example app in the repository, where the code looks quite different and with no recent commits. It seems to assume prior knowledge of all of these libraries (which I don't have).
- Dropwizard 2.1.0 has been released
-
Non Spring users what are you using ??
You might like Dropwizard then.
-
best light framework or library for developing API without the magic (Spring)
Dropwizard is a nice opinionated veneer over all the standard bits and pieces. https://www.dropwizard.io
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.
What are some alternatives?
Feign - Feign makes writing java http clients easier
Spring Boot - Spring Boot
Spark - A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Retrofit - A type-safe HTTP client for Android and the JVM
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
Jersey - Eclipse Jersey Project - Read our Wiki:
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
RESTEasy - An Implementation of the Jakarta RESTful Web Services Specification
Spring - Spring Framework
Quarkus - Quarkus: Supersonic Subatomic Java.