What justifies using Java over Django/Python, PHP, etc. for the web?
I'm currently studying the Spring framework and JDBC (re-studying this because I really, really want to understand Hibernate) to do some web development/web services as a summer intern. I've been curious for quite some time about what advantages Java/Spring (or just JEE for that matter) has over Django, Rails, PHP, etc. 

As far as I can see, the latter frameworks are far more effective for rapid development and some of them scale quite impressively. Based on one of the posts here: 

http://stackoverflow.com/questions/967137/web-when-should-i-consider-using-java-rather-than-php-python-django-ruby-rail

There really is no obvious benefit to using Java. The answer is always "whichever one you feel most comfortable with." But I am interested in seeing what aspects of using Java frameworks is superior to that of the other listed frameworks and vice versa. 
What justifies using Java over Django/Python, PHP, etc. for the web?
===

I'm currently studying the Spring framework and JDBC (re-studying this because I really, really want to understand Hibernate) to do some web development/web services as a summer intern. I've been curious for quite some time about what advantages Java/Spring (or just JEE for that matter) has over Django, Rails, PHP, etc. 

As far as I can see, the latter frameworks are far more effective for rapid development and some of them scale quite impressively. Based on one of the posts here: 

http://stackoverflow.com/questions/967137/web-when-should-i-consider-using-java-rather-than-php-python-django-ruby-rail

There really is no obvious benefit to using Java. The answer is always "whichever one you feel most comfortable with." But I am interested in seeing what aspects of using Java frameworks is superior to that of the other listed frameworks and vice versa. 