Answer Posted / satendra
Context switching is actually light weight thread context
switches which servlet used to do in multithreading
environment to improve its performance.
servlets do not require creation of a new process for each
request. In most environments, many servlets run in parallel
within the same process as the server.
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
Explain session tracking and its importance?
Which java application server is the best?
Tell us something about servletcontext interface.
What is setattribute in servlet?
What is the difference between Difference between doGet() and doPost()?
Explain the working of service() method of a servlet.
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
What is dispatcher servlet?
What do you mean by cgi and what are its drawbacks?
What is servlet instance?
What is difference between jsp and servlet?
What is the use of request dispatcher interface?
What are the types of an http request?
If a servlet is not properly initialized, what exception may be thrown?
How are filters?