I've used both Perl (HTML::Embperl) and Java (JSPs and Servlets)
for some larg-ish e-commerce sites
(
vwrsp.com - Perl,
and
merckeurolabs.de - Java).
The first site was 2 developers for 4 months. The second
was 7 developers for 6 months (with 30% of the features of
the first, though it did have internationalization requirements
that the first did not). For development speed and performance, (mod) Perl won.
For code readability and management acceptance, Java won.
Of course the experience (pain) of using both HTML::Embperl and JSPs/Servlets
was what lead me to start Pas,
which has (IMO) most of the best aspects of both approaches.