I know a lot of programming languages that can be used to web development like PHP, ASP, etc. but why many web developers use java programming language for web development?
closed as not constructive by Robert Harvey, Caleb, Arseni Mourzenko, Frank Shearar, gnat Mar 27 '13 at 7:01
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question.
Java is "safe" for corporate managers. I think it is less often you see startups without corporate managers choosing Java (sorry, no stats off hand), and more often you will see Java or .NET in large corporate environments.
Safe means several things, including the ability to hire talent. Or that the other stuff is based on Java, so we need to stay with it. Or that is what we learned in school. Many reasons.
Few managers will get fired for choosing Java or .NET, but they may get fired if they choose Python or Ruby and it doesn't "work out".
I heard a developer I very much respect tell me once:
"Java allows mediocre developers to crank out mediocre software at a predictable pace" -- And it makes sense! There are endless docs to read, books to digest, and springs and beans to play with.
(Note: observing from the sidelines here. I almost adopted Java for web-development once... I was that fed up with PHP. We ended up standardizing on Python 3, and could not be happier at this point. But there was no "manual" to read -- we built our own infrastructure)