Show HN: Javalin 1.0 – A Kotlin/Java web framework
Good job reaching a stable release.<p>I have a Kotlin microframework that never made it past hobby-level stability[1].<p>One thing I found out is that you really have to write a library in Java if you want it to be used in both Java and Kotlin. Java -> Kotlin is effectively one-way interop.<p>I also found async programming to be really hard in Java which is why I wrapped Jetty. Meanwhile async APIs like Netty and Undertow were completely exotic to me.<p>For example, I couldn't figure out how to go from `Request -> Response` to `Request -> Promise<Response>` by wrapping Netty.<p>One thing I did find out was that Kotlin is probably my favorite language. Very similar to Swift, though I wish you could re-open 3rd party classes to make them conform to additional interfaces which you can do with Swift protocols.<p>I also never figured out how to hot reload code without restarting the server. Even JRebel didn't work for me. Looking at Jetbrains' own framework, their code that implements reloading is pretty intimidating[2].<p>OP is also the author of <a href="https://github.com/tipsy/j2html" rel="nofollow">https://github.com/tipsy/j2html</a> which I've been using in my own small servers. I couldn't figure out a better way to get typesafe html templating in the ecosystem.<p>[1]: <a href="https://github.com/danneu/kog" rel="nofollow">https://github.com/danneu/kog</a>
[2]: <a href="http://ktor.io" rel="nofollow">http://ktor.io</a>