News for hackers. Stuff that matters.
Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by e12e on Monday March 09, 2015 @12:40AM (#9169113)
Hm, looks like I can find examples of using kotlin with guice, and kotlin with dropwizard, but no examples of kotlin with gwizard... After recently looking at java8 and alternatives, I've tentatively come to the conclusion that I'm rather happy to use kotlin for stuff that needs to be (almost) java (eg: Android, or just mapping closely to java, eg: dropwizard?) -- and clojure for everything where java feels too constrained (but where perhaps performance isn't much of an issue). For myself, I don't see much use for scala -- it feels too complex, and in many ways less powerful than clojure. Note that I don't have any legacy java/jvm code, and so I probably just use ocaml or even standard ml where others might reach for scala.

Perhaps kotlin doesn't make much sense wrt dropwizard -- it might make more sense to just stick with java for dw, and use something different if one wants something higher level?

Anyway, some related links I've come across googling a bit:

clojure+dropwizard (example, with leiningen):

https://github.com/stevensurgnier/dropwizard-clojure

Experimental (old) repo for dropwizard+kotlin:

https://github.com/arteam/kotlin-dropwizard

Combining kotlin and guice:

http://java.dzone.com/articles/kotlin-guice-example

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by doomspork on Monday March 09, 2015 @01:05AM (#9169219)
I've been using Kotlin and Dropwizard together and I quite enjoy it. To demonstrate Kotlin recently for a friend I used the Dropwizard Getting Started: https://github.com/doomspork/kotlin-dropwizard

My plan is to add more to it and eventually cover all the features of Dropwizard.

Re:Dropwizard 0.8.0: Java framework for ops-friendly, high-p... by pron on Monday March 09, 2015 @02:37AM (#9169527)
I find Kotlin+Clojure (or Java+Clojure) to be a winning combination, too.