Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Micro web-framework for Kotlin [closed]

Tags:

kotlin

I would like to develop a very simple web-application. Is there something similar to Flask from Python world for Kotlin?

I know there is for instance Kara framework, but it looks abandoned.

like image 959
Aleksander Alekseev Avatar asked May 17 '16 08:05

Aleksander Alekseev


People also ask

Is there any framework for Kotlin?

Use popular frameworksKtor is a multiplatform toolkit built by JetBrains for creating Web applications in Kotlin. It makes use of coroutines for high scalability and offers an easy-to-use API. Build your next Kotlin microservice application with ease and test it, too.

Is KTOR better than spring boot?

Both are the best for their roles: Spring has a lot of components and large community. Ktor Client works perfectly with non-blocking approach. If you need small application without any IoC or something, Ktor can solve the most of your tasks.

Can Kotlin be used for Web development?

Kotlin is supported by the official integrated development environment (IDE) for Android development, Android Studio. So programmers can easily use Kotlin's code when working on Android development.


1 Answers

You can use any java micro web-framework for this purpose.

Personally i recommended Spark Java. Also you can use undertow, rapidoid, ratpack, etc.

An other option - Spring Boot, which is lightweight too, see post about memory consumption.

like image 111
Ruslan Avatar answered Oct 04 '22 18:10

Ruslan