Is there a particular http back-end that is favored in the Kotlin community?
I want something lite weight that will enable me to create a json rest api using Kotlin.
I have a legacy json rest api written in java. The json part is Jackson. The http part is JSP. Just the outer edge is jsp. It is 90% java.
What I have now mostly looks like this:
<% int week = Http.paramIntRequired(request,"w"); int year = Http.paramIntRequired(request,"y1); ParDto dto = ParService.par(week,year); out.print(dto.toJson()); %>
This all runs on Tomcat. But I am starting to move my backend code to Kotlin. The ParService and ParDto are now written in Kotlin.
To be honest, I was surprised at how easy it was to call Kotlin from java like this. I have java calling kotlin and kotlin calling java. So painless!!
But it would be nice if this last 5 yards (the jsp part) could be written in kotlin.
I was thinking of porting the http part to something more modern. I have used Spark framework (in java) and liked it. Also, vert.x looks interesting.
So what are people in the kotlin community using to create their http backends?