What all Alexa top websites are written in Java, if any?
The top websites seem to use multiple technologies and it seems that Java is more popular as a backend platform and less at the front-end. If you just take a look at who is using Apache Hadoop for example and you get this list:
- Last.fm
- ImageShack
An other well known website build with a lot of Java is ebay, but they don't beat LinkedIn is 99% Java!
Examples of Java in the front-end of top tier webapplications can be found at Google (See: Java GWT platform):
- Google Wave
- Google Adwords
- Google Profiles
The way websites are delivered typically involves lots of technologies written in tons of different languages. The actual web server that services requests, any load balancing in front of that, any sort of proxy or routing software, the actual page rendering logic, data access, etc. can all be separate components written in different languages. So it's not as simple as "what popular websites are written in Java".
The question of your friend is irrelevant. I've been asked a similar one many times, it just shows ignorance on the matter of programming.
- websites aren't written in Java, because they are often simple and Java is too big a weapon for them
- large-scale websites use multiple technologies, as noted in other answers, so it's not "Facebook is written in language X".
- public websites are only one side of the story. Java is used in business-to-business solutions more often
- the fact that certain technology is used by some "big" website proves nothing. MySpace is (was) using coldfusion...