On Tue, Feb 16, 1999 at 07:49:18PM -0500, David Harvill wrote:

> Overall, the servlets do not use more system resources.  CGI has to spawn
> an entire new process (with full memory overhead) for each incoming
> request.  Java starts up the process (and memory overhead) only once, and
> simply gives out a new Thread to handle the requesting.

CGI does not have this drawback when you use FastCGI or mod_perl, so that
case isn't really valid.

Further, the speed comparison between Java and Perl or C can be significant
if your CGI is doing any sort of computation.  Most do :-)

John

Reply via email to