Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
general knowledge
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
beans
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Advantage of using Servlet over CGI
Question Posted on 31 May 2020

Home >> Java >> Servlet >> Advantage of using Servlet over CGI




Advantage of using Servlet over CGI
Below are the 4 main features that make Servlet very powerful then CGI
(1)Servlet is much much better performer then CGI when we say about processing time and memory utilization. This is because servlets use benefits of multi-threading and for each of request a new thread is created which is far far better then in CGI a new object is created for each request with CGI.
(2)Servlet have another very good features that Servlet web application can be run on any standard web container like Tomcat, JBoss, Glassfish server or we have any operating system like Windows, Linux, Unix, Solaris, Mac etc.
(3)In Servlet we will not worry about memory leaks, security and garbage collection because Servlets are robust because container take care of life cycle of servlets.
(4)Servlets are maintainable and the learning curve is small because all we need to take care is business logic for our application.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Different methods of session management in servlets?
Advantage of using Servlet over CGI
Simplest definition of Servlets or what is Servlets
What is Servlet Filter and its usage






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |