Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Diff between CGI-Perl Scripts & Java Servlet

 
Raghavendra Holla
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic