Let me start with Java world:
In Java world, there are 2 competing frameworks where you can pretty much do all the best practices of web development like HTML5, Bootstrap, RWD, SPA. Vaadin (www.vaadin.com), ZKOSS (www.zkoss.com). Both take different approaches. Vaadin is built heavily on GWT (http://www.gwtproject.org/) and it is 100% java code including frontend markup. Vaadin 7 the latest edition has a poor support for CSS. I liked ZKOSS a lot.
- It has a nice blend of markup and Java support,
- it has good support for CSS (SCSS),
- it has Bootstrap theme out of the box,
- it encourages SPA a lot and
- it has a decent MVVM support, but you have to pay for it, I would rate Knockout.js much better than this.
I ended up building a decent excel based application on Heroku. As I proceeded to do complex things, I realized that in Java we end up with lot of boilerplate coding. I stumbled up onhttp://projectlombok.org/ to reduce some boilerplate, but still lot of boilerplate… this forced me to think, is that the reason, people to move towards modern programming languages like Scala, Groovy, and my latest favorite Clojure.
Clojure in particular is interesting because it is JVM based, follows Lisp way of working, you can write efficient code and avoid boilerplate, and has ClojureScript for web development. I did spend close to 1month exploring if it is good for web development.. the good thing is I learnt a new language. The big disadvantage is it has a huge learning curve, and it is not for weak hearted, you need to be good in emacs and some good frameworks like http://hoplon.io/ only work in UNIX platforms.