For server rendered I'd use Kotlin for the fronten...
# tornadofx
h
For server rendered I'd use Kotlin for the frontend, using Vaadin for example: https://vaadin.com/docs/v8/framework/getting-started/getting-started-kotlin.html I'm not buying Kotlin/JS for frontend yet though