I'd argue that Java is horrible at games and web pages. With things like the spring frame work and numerous database drivers it makes a great server-backend. The internet is full of examples of those because that's what most people are interested in learning how to do and Java (and the newer C languages) are easy to teach and learn.