Just to ask the question, are you sure Java/Kotlin is the right solution these days for a web application?
In other words, with the ease of developing in NodeJS and React/VueJS/Angular2, is it better to leave the backend components to Java/Kotlin and the frontend web app to better technologies?
I’m sometimes terrible at phrasing things well, but I ask this because our team has experienced this and split frontend/backend and it is working great (for us - key point).
Personally, I can’t imagine developing frontend/middle-tier code in Java/Kotlin when other solutions make it so much easier.
Disclaimer: I’m also a REST API focused developer, I don’t build frontend stuff myself professionally.
Okay, having written all of that… If I were to do something like this, I would probably go with Java EE (JSP?) as that would be the most logical fit for our environment. So that could very well be the worst option to go with
I would probably go check out the Kotlin link, or one of the two “awesome kotlin” github repos and look for a fitting framework.
More likely though, on personal projects where I have a frontend I last went VueJS served by NodeJS for the app and Java EE with REST APIs for the backend.