This article is not a critique of one language over the others and it is not my purpose to support for my favoured technology. Which is just as well because I cannot identify a clear all round leader out of these three. I just want to present the facts and suggest the circumstances when one language might be preferable.
The syntax of all three languages is in the style of C and all three are instrumental in the development of web application. There are even sites that employ all three with each language playing to its strength; sounds good policy to me.
|Primary purpose||General (Web Server)||Web Server||Web Browser|
|Secondary purpose||General *||–||Web Server**|
|Nature||Compiled to Byte code||Script||Script|
|Strength||Numerous***||Web Server interaction||Web Browser interaction|
* Java used to have a role within the web browser as applets but this has since been considered poor practice as it requires the browser to integrate a JVM.
*** Java is a profession development framework suitable of many applications from mobile application to enterprise solutions.
There are a vast array of other languages, too numerous to list them all, that perform competitively in the web application arena. The most well known include; Ruby on Rails, Python and Microsoft .Net.