what is the advantage of using Servlets over CGI programming?
Answer Posted / janet
Servlets are only instantiated when the client first
accesses the program. All subsequent accesses are done to
that instance.This keeps the response time of servlets lower
than that of CGI programs, which must be run once per
hit.also because servlet is instantiated only once,all
accesses are put through that one object. This helps in
maintaining objects like internal connection,pooling or user
session tracking and lots of other features.
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
Explain the servlet filter.
What is java servlet?
What is meant by cookies?
What is the procedure for initializing a servlet?
What’s the use of the servlet wrapper classes??
What is a servlet context object?
When servlet object is created?
Which protocol will be used by browser and servlet to communicate
What is servlet interface?
What are sessions in servlets?
Why are servlets used?
How do you run a servlet?
What is the difference between using getSession(true) and getSession(false) methods?
Which java framework is most popular?
What are different Authentication options available in Servlets.