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 is httpservlet and how it is different from genericservlet?
Can filter be used as request or response?
Which http method is said to be non-idempotent and idempotent?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
What is called servlet mapping?
When servlet is loaded?
Can we use the constructor, instead of init(), to initialize servlet?
What is the purpose of requestdispatcher interface?
What are the important functions of filters?
Why do you use session tracking in httpservlet?
What are life cycle methods of a servlet?
Why is servlet used?
What is the main purpose of java servlets?
Explain session tracking and its importance?
How can we create deadlock situation in servlet?