ktor
Framework for quickly creating connected applications in Kotlin with minimal effort (by ktorio)
javalin
A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin] (by tipsy)
Our great sponsors
ktor | javalin | |
---|---|---|
48 | 23 | |
12,223 | 5,583 | |
1.5% | - | |
9.5 | 9.1 | |
5 days ago | almost 2 years ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ktor
Posts with mentions or reviews of ktor.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-08.
-
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.
-
Tech-stack for web application using Kotlin?
Check https://ktor.io it's from JetBrains and amazing.
javalin
Posts with mentions or reviews of javalin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-18.
-
Looking for maintainer for jvm-brotli
If you've read this far, you might be interested to know that Javalin has been offering Brotli compression through jvm-brotli for three years already, and that there have been no (reported) issues. In other words, the effort required to release and maintain this is probably not huge.
- Using "equivalents" in other languages to help learn
-
Question about Kotlin from an ex-Java developer
I'm a big fan of Ktor (ktor.io) but another reasonable lightweight alternative is Javelin (https://javalin.io/). Heck even Spring Boot isn't that bad. HikariCP + JooQ (has both java and kotlin codegen) for DB access if you need and you're good to go.
-
Turbo: The speed of a SPA without writing JavaScript
A similar alternative that does not rely on web sockets is https://htmx.org. I have greatly enjoyed using it with some simpler web frameworks like https://javalin.io to do some prototyping and smaller projects. I'm sure if someone made a plug and play UI library like material UI for Angular on top of htmx you could absolutely fly through MVPs.
- Does Java has an equivalent to Django/Laravel/Node
-
Java Equivalent of Express.js for REST
Javalin
-
Java Servlets
If you're already familiar with most of the concepts around HTTP and web services, I'd recommend using something like https://javalin.io/ which is light weight frame work that makes getting something up and running quickly a very easy task.
-
Why people don't love Java?
I've been looking at https://javalin.io/ Seems close enough to express and some big names are using it, so I wouldn't say it's fizzling out
-
Is there Expressjs like framework for java
Javalin (https://javalin.io) is strongly inspired by Express and Koa, so you should feel right at home:
-
There is no magic in Spring, I wrote my own (very simplified) framework from scratch to show it
If you want to do a proper comparison between the two, I would be happy to help with code examples from Javalin's side. I could even host it on https://javalin.io as a "Comparison to Jooby" blog post.
What are some alternatives?
When comparing ktor and javalin you can also consider the following projects:
Quarkus - Quarkus: Supersonic Subatomic Java.
Spring Boot - Spring Boot
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
vertx-lang-kotlin - Vert.x for Kotlin
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Jooby - The modular web framework for Java and Kotlin
vaadin-on-kotlin - Writing full-stack statically-typed web apps on JVM at its simplest