Is Java good for web development? Myths and facts

You are about to start a web app, your team knows Java, and every search you make tells you the browser belongs to JavaScript. So is Java good for web development, or are you about to fight your tools? It is good for it, and the old arguments against it are mostly out of date. With webforJ you write the whole app, screens included, in Java and the browser renders it with modern web components.
Not sure a Java web app can look current? Open the Dashboard app in built-with-webforJ, a market dashboard with live-updating tables, charts and themes, written in Java. Clone it, run mvn, and judge the result in your own browser.
The belief that Java is a poor fit for the web comes from a few specific habits. Each one is worth checking on its own, so this post takes them as myths and answers each with facts. It ends with the cases where JavaScript really is the better pick.