What advantages do servlets have over CGI programs?
Answer Posted / ravikiran
cgi makes use of multiprocessing.Means each and every
request is processed by an individual process.where as
servlets make use of multithreading.A single process with
multiple threads to accomplish the particular task
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the use of request dispatcher interface?
Explain the steps involved in placing a servlet within a package?
What is the difference between jsp and servlet life cycle?
Which method is called when reference variable is passed in system.net?
What is the difference between Difference between doGet() and doPost()?
What are the jobs performed by servlets?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
How would you create deadlock on your servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What is a servlet context object?
Difference between java beans & servlets?
How do you design microservices?
Why are servlets used?
How can the referrer and the target urls be used in servlet?
What is Client-Server Computing?