aspose file tools*
The moose likes Servlets and the fly likes Diff between CGI-Perl Scripts & Java Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Diff between CGI-Perl Scripts & Java Servlet" Watch "Diff between CGI-Perl Scripts & Java Servlet" New topic
Author

Diff between CGI-Perl Scripts & Java Servlet

Raghavendra Holla
Ranch Hand

Joined: Jun 02, 2000
Posts: 58
Hi ,
Where can I get exact difference between above two technologies. I need difference in terms of adavantage of one over other, in developing application, fast coding, reusability of components , Performance after deployement... etc etc...
How much OO coding Can be done in CGI-PERL.
Can any body suggest which one is better if I am newly developing the web type software.
Lots of thanks in advance....
Regards,
Holla.
Pawan Sinha
Greenhorn

Joined: Jan 16, 2001
Posts: 10
1.Servlets are faster than CGI-Perl Scrips
2.Servlets works on threads whereas cgi works on processes
3.Servlets are portable, Cgis are not.

If u want to know more about it. Write Servlets+advantages in google search. U will the thousands of pages , The first two or three pages willserve the purpose
Bye
Pawan
narayan kulkarni
Greenhorn

Joined: Jan 31, 2001
Posts: 17
I have worked in both areas but I am still unable to clearly understand the difference between this thread-process thing and performance and etc.
What matters in web based application (for large scale access) is how your webserver how many concurrent users..,load balancing etc etc All this matters.
There are lots of other things that matter not simply the language used for coding the server side.
Perl can very well be used for OO design very efficiently. It has excellent file processing and pattern matching features, also its very easy to learn
But I do not know why there is less support for PERL language, may be developers have some kind of prejudice.
Servlets has advantages, I agree but I have not seen any real time comparisons like this x site is much faster then y site because x uses servlets and y site uses PERL.
In web based application there is one more player ASP on which most of .COM companies rely on.
Can anyone explain why ASP has so much of presence, may be because of Microsoft and Java Servlets and jsp because of Sun
Folks hope you got the point

Take up computer programming as fun and you will just enjoy it. Always keep in mind that in some way your program is going to make human life easier.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Diff between CGI-Perl Scripts & Java Servlet