you missed a crucial one how abt the comparsion of processes between CGI and
SERVLETS.  Eventually servlets will create only 1 process for numerous
request and multiple instance will be served, whereas CGI will create a
seperate process for each request.  I believe for a webserver performance
that too in a mission critical deployment this is CRUCIAL.

Cheers
Srini

-----Original Message-----
From: Charles Chen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 13, 2000 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Servlets over CGI... [Scanned by Yellow Pages PostMaster]


Contact:   Tel: 2726  -  New Media Systems, 1st Floor South, Queens Walk


I assuming you mean CGI::Perl? Otherwise the question does not make much
sense
anyway.

Servlets are compiled excutables that can run multi-threaded and can stay in
memory throughout of the life cycle of the web server, with the benefit of
the
security provided by the web server and the session management provided by
Java.
It also makes MVC model much easier to implement where the view is a servlet
that generate JSP files which in turn access JavaBeans. This makes it a
better
CGI than Perl. Although you can look at each of these advantages in
separation
for Perl, putting all these together for Perl to work is not that simple.

Other than that, Perl is still superior, in my opinion. For instance, if you
just want to generate some reports by parsing some log files or any text
based
files, Perl is much more powerful that servlets.



Charles





Monika Rawat <[EMAIL PROTECTED]> on 09/13/2000 08:24:47 AM

To:        [EMAIL PROTECTED]
cc:         (bcc: Charles Chen/YellowPages)
From:      Monika Rawat <[EMAIL PROTECTED]>, 13 September 2000, 8:24 a.m.

Servlets over CGI...  [Scanned by Yellow Pages PostMaster]


Hi,
Help me out.. I want some real life situations where I can show that
Servlets are advantageous over CGI.
regards,
Monika

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to