Micronaut
ktor
Micronaut | ktor | |
---|---|---|
50 | 49 | |
5,957 | 12,255 | |
0.5% | 0.8% | |
9.9 | 9.4 | |
2 days ago | 5 days ago | |
Java | Kotlin | |
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.
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.
ktor
-
Kotlin Routing - routing everything
In paralel Jetbrains has created a lot of KMP frameworks that are awesome. One of them is Ktor that helps "create asynchronous client and server applications."
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
Spring MVC vs Django vs RoR vs some Kotlin Framework?
take a look at http4k and ktor for Kotlin specific frameworks Spring has first class support for Kotlin e.g. the following will give you reactive HTTP endpoints when using spring-webflux (this is what is use at work):
- Your recommendations for backend?
-
What are good examples of well written code in Kotlin (e.g HTTP4K)
Ktor (Microservices framework by JetBrains)
-
Akka-HTTP in android
For Android you should use a more mobile friendly framework like Retrofit or if you use Kotlin you can use the multi-platform Ktor library with it's client module
-
Anyone here who uses compose-multiplatform for desktop apps, whatβs your feedback?
And last but not least, Ktor Client as our HTTP client. https://ktor.io/ It's a pretty amazing http client library and integrates well with Kotlinx serialization and Coroutines.
-
Which JVM Language Would You Choose for a New Server-Side Project?
Kotlin is going to be great with almost every single JVM server. Spring works well with Kotlin, and is directly supported, but spring is also massive, very bloated. I recommend looking at https://github.com/ktorio/ktor which continues to serve all of my needs very well, integrates fantastically with Kotlin coroutines, and has very fast startup time and very good performance.
-
Exposed RSQL Search Implementation
For the sake of the test, we use Ktor - the easiest way to do so is to use initializer.
-
Learning materials for Spring Boot and/or Quarkus
I know you are looking for Spring Boot and/or Quarkus, but have you tried ktor. Just curios if you had a particular reason for choosing the other 2. Disclaimer: I haven't used ktor.
What are some alternatives?
Quarkus - Quarkus: Supersonic Subatomic Java.
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]
Flowable (V6) - A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.
vertx-lang-kotlin - Vert.x for Kotlin
Nacos - an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
JaCoCo - :microscope: Java Code Coverage Library
Jooby - The modular web framework for Java and Kotlin