Kotlin / kotlin-examples

Various examples for Kotlin
3.21k stars 1.04k forks source link

Dropwizard, Play, or equivalent example #36

Open rattrayalex opened 8 years ago

rattrayalex commented 8 years ago

Hi there,

As a newcomer to the JVM interested in the benefits of Kotlin for building RESTful server applications, it'd be amazing to see an example of building one!

I've struggled so far, especially with hot reloading – a requirement for someone coming from a scripting language background (eg; Rails/Django). It appears this simply isn't possible with Play, and I haven't seen anything to indicate it could work with Dropwizard, but it is said to work with Jetty. A bundled example of, say, Gradle+Gretty+Jetty+Jersey+Hibernate or similar might go a long way to helping folks like me come from a scripting language background to Kotlin for web programming.

Cheers!

napperley commented 6 years ago

@rattrayalex - You might be interested in this Vert.x example PR. Vert.x supports hot reloading with Kotlin, and it works.