Hacker News new | ask | show | jobs
by mkurz 2732 days ago
What tool do you reach for? Java/Play

Why? Using it for many years already, that's probably why I am most productive in it. However I try to look at other frameworks every now and then (Spring, Django) but I always come back to Play, because it just feels right to me (E.g. I prefer Play's config style, Spring's however is much more verbose I think. I also don't like the excessive use of annotations in Spring e.g. to set up routes).

BTW: You can use Play without Scala, but Java only. No problem. There seems to be this wrong prejudice that Play is a Scala only framework - which is wrong. Yes, Play is written mainly is Scala (69% according to GitHub stats) however as a framework user you can choose between Java or Scala. Or even mix both languages. Back in the early Play 2.x days some features/components of the framework where usable only via Scala, meaning you had to write Scala code to make use of them, however these days are long gone. We run major projects in production written entirely in Play Java.

Play 2.7 will be released soon, containing many nice enhancements and fixing many hickups (for Java users at least) I faced the last years (I contributed some fixes myself ;). For me Play 2.7 (Java) is the framework I always wished existed and it's finally there (soon)!