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
What are common tasks performed by Servlet Container?
How the JSP file will be executed on the Server side?
What is the difference between genericservlet and httpservlet
What are all the advantages of servlet over cgi?
Can we fetch the attributes related to a servlet on a different servlet?
How servlet is created?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What are the life cycle methods of the servlet?
What is the inter-servlet communication?
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?
How do you deal property files in servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What do you mean by web applications? Explain web application directory arrangement?
What is a cookie What is the difference between session and cookie
Is servlet a controller?