crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Advantage of using Servlet over CGI
Question Posted on 31 May 2020Home >> 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




.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap