Jooby
spring-native
Jooby | spring-native | |
---|---|---|
13 | 19 | |
1,660 | 2,772 | |
0.5% | - | |
9.6 | 8.6 | |
5 days ago | about 1 year 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/
- 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.
spring-native
-
Measuring Java 11 Lambda cold starts with SnapStart - Part 4 Using Spring Boot Framework
It was probably not a very good idea to write Lambda using Java programming language and Spring Boot Framework. Despite the well-spread usage and knowledge of this framework, the fact that Spring (Boot) heavily uses reflection and takes time to start the embedded Web Application Server led to very big cold starts which we'll explore in the next section. But now with SnapStart on AWS and GraalVM Native Image Support we have two more options how to optimize those cold starts. So let's explore how to write Lambda function using the Spring Boot. The code of this sample application (the same as for the first 3 parts but rewritten to use Spring Boot) can be found here. It provides AWS API Gateway and 2 Lambda functions: "CreateProduct" and "GetProductById". The products are stored in the Amazon DynamoDB. We'll use AWS Serverless Application Model (AWS SAM) for the infrastructure as a code.
- Compile the Minecraft Server (Java Edition) to Native with GraalVM Native Image
-
Introducing Spring Native for JHipster: Serverless Full-Stack Made Easy
During this experience, I was surprised to find that Spring Native doesn't support caching yet. I believe this support will be added by the community soon. In the meantime, if you're looking to start/stop your infra as fast as possible, you probably don't care about caching. Caching is made for long-lived, JVM-strong, JVM-loving apps.
- Spring Native – Native Executables for GraalVM Image Compiler
-
Podrá Spring Native revivir a Java?
fuente: https://spring.io/blog/2021/03/11/announcing-spring-native-beta
-
Annotation-free Spring
As I just found out thanks to a comment from another Redditor, spring-aot will be getting some functional configuration compile time generation support in Spring Native's next release
-
Curious about opinions of the best cloud native microservice Java framework
Not sure how far they are currently, but have you heard of Spring Native? https://spring.io/blog/2021/03/11/announcing-spring-native-beta
-
"Java Guitar Hero!", — Hanno Embregts
I have to say Spring. Because it is so mature and well-documented. Sure, it is bloated sometimes and not very well-suited for small JAR packages. And I have tried other frameworks as well, but I find that I keep returning to Spring. Especially since Spring keeps adding features that caused competing framework to have an edge over Spring, like native images with Spring Native for example.
-
Kotlin Team AMA #3: Ask Us Anything
Our next steps are : provide great Kotlin/JVM/Native (Native with Kotlin JVM via GraalVM native images) support via https://github.com/spring-projects-experimental/spring-native/, empowering multiplatform development (with Kotlin/JS frontend for example), translating Spring Boot documentation to Kotlin (via a contribution from Kotlin team), make sure that some APIs like WebTestClient currently broken with Kotlin due to some type inference bugs with recursive generic types become usable.
-
Is it right to use Spring & Spring boot?
I doubt micronaut has better runtime performance. You're probably talking about startup time and this point is moot with either https://github.com/dsyer/spring-boot-auto-reflect Or https://spring.io/blog/2021/03/11/announcing-spring-native-beta
What are some alternatives?
Spring Boot - Spring Boot
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Quarkus - Quarkus: Supersonic Subatomic Java.
Micronaut - Micronaut Application Framework
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
Spring - Spring Framework