Server-Side development with Kotlin: Frameworks and libraries

Click for: original source

It is quite common to use existing frameworks and libraries for backend application development. If we look at most of the popular frameworks in the Java ecosystem, many of them actually support Kotlin out of the box. There are a lot of Java libraries too. You can use these frameworks and libraries in your Kotlin programs thanks to Kotlin’s flawless Java interoperability. By Anton Arhipov.

The article then compares these frameworks for development with Kotlin:

  • Spring framework
  • Ktor
  • More web frameworks (Micronaut, Quarkus, Javalin, SparkJava, Vaadin, CUBA, and Vert.x)
  • Database access
  • Testing
  • Other libraries
  • Additional tools

gRPC is a high-performance, open-source, universal RPC framework. Kotlin is now supported by gRPC. And RSocket is also gaining popularity as a protocol for use in building microservices. Kotlin integration was recently added to RSocket.

Kotlin was initially designed as an alternative JVM programming language, meaning that Kotlin can be used anywhere where Java is used. Thanks to Java interoperability, it is easy to use any of the existing frameworks and libraries that are familiar to Java developers. This all greatly simplifies the adoption of Kotlin for application development on the JVM. Great news!

[Read More]

Tags kotlin programming jvm performance