Hi, im android developer. I want to ask, whats the...
# server
u
Hi, im android developer. I want to ask, whats the current go to framework for medium sized webserver?
m
I’d recommend spring unless you have some specific other requirements
d
If you don't all of springs bells and whistles, I'd go for Ktor. But to be fair, theres http4k, javalin, spark, vert.x each one has there advantages and disadvantages. Ktor is a Kotlin DSL and is based on Coroutines, you can switch the underlying server (Netty, Jetty...), and it has a bunch of pluggable Features, and a Webclient too. It's nice to work with, and isn't overbloated when you don't want it to be.
u
thanks
and what about database? postgres + jpa?
d
You could try #exposed or #squash if you want a more Kotlinish interface, also Vert.x has async db clients if that's your need.
n
JOOQ is a good library to use for accessing a relational DB (https://www.jooq.org/).
👍 1
a
+1 for ktor, really smooth learning curve as well, and a good introduction to kotlin as a language, if that's your case
o
If you decide to try with Ktor, there is #ktor and ktor.io