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?
-
1Because many developers use Java programming language for web development. Seriously. Nobody wants to be the guy who took a risk on some exotic language that no one knows.– Robert HarveyCommented Mar 27, 2013 at 4:48
-
2Why would they not choose Java? If you go by a checklist of features offered (tools, libs, docs, workflow...), Java might well be the top choice, and you need some reason to not choose it, a reason for another choice (which there are many, of course).– hydeCommented Mar 27, 2013 at 5:24
-
2possible duplicate of Why isn't Java used for modern web application development? BWA-HA-HA that's a typical issue with questions like Gorilla vs Shark - these look the same holywar no matter how you turn them– gnatCommented Mar 27, 2013 at 7:01
-
1@gnat Strike “possible” from that; it's exactly that one again. It's like an undead question; strike it down and it rises from the grave once more!– Donal FellowsCommented Mar 27, 2013 at 10:28
1 Answer
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)
-
2