Why would I need Servlets or JSPs?
Perl scripts are great for quickly creating a small database search or prototyping a site with dynamic pages. But once a site starts getting a large amount of traffic, Perl’s process-per-user architecture starts to become detrimental. Once the number of hits passes a certain threshold, no machine can handle the number of Perl processes necessary to handle user requests. Java servlets offer a multithreaded means of handling high-volume sites that avoids these problems and allows scalability to be designed- in from the start.