Micronaut
javalin.github.io
Our great sponsors
Micronaut | javalin.github.io | |
---|---|---|
50 | 27 | |
5,950 | 35 | |
0.5% | - | |
9.9 | 8.2 | |
5 days ago | 11 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.
Micronaut
-
Javalin – a simple web framework for Java and Kotlin
Micronaut has a share of the space too.
https://micronaut.io/
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!
https://micronaut.io/
- 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
-
Would love some guidance in how to get started with building web projects with Java.
Spring boot is still The King. Although I've not done more than hello world with Micronaut, it might have easier learning curve than Spring (and concepts are similar to Spring so you can carry over later to learn Spring). It could also be a useful skill in world of microservices these days.
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?
Quarkus - Quarkus: Supersonic Subatomic Java.
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
minum - A minimalist Java web framework built from scratch
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Nacos - an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
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.
JaCoCo - :microscope: Java Code Coverage Library
undertow-examples