What are the key differences between CGI and Servlets?
- NP
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Tue, 8 Jan 2002, Naveen Parmar wrote:
What are the key differences between CGI and Servlets?
I think Servlets also use the CGI protocol, they accept POST and GET
strings the same way as any CGI program. They are just special server
side components written in Java that are run as a server
. This way CGIs are
more prone to bottlenecks and timeouts than Servlets.
-- Rex
-Original Message-
From: Brett W. McCoy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 4:51 PM
To: Naveen Parmar
Cc: [EMAIL PROTECTED]
Subject: Re: CGI vs. Servlet technologies
On Tue, 8 Jan
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 4:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: CGI vs. Servlet technologies
Servlets are more scalable than CGIs and that is what is one of the biggest
advantages!
A Servlet
--- Hanson, Robert [EMAIL PROTECTED] wrote:
But don't forget that there are other technologies other than servlets that
cache code so that they don't need to be recompiled for each hit. ...And
this being a Perl list there is mod_perl a plugin for Apache (free) and
PerlEx for IIS (from
[EMAIL PROTECTED] wrote:
Servlets are more scalable than CGIs and that is what is one of the biggest
advantages!
A Servlet is instantiated for the first request and any subsequent requests
to the same servlet spawns a separate thread, whereas CGIs are costly and
had to be instantiated