What is context switching?

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


Please Help Members By Posting Answers For Below Questions

How to get the actual path of servlet in server?

729


Which protocol will be used by browser and servlet to communicate

576


Why doesn’t a servlet include main()?

557


why we should override only no-agrs init() method.

676


What is the use of httpservletrequestwrapper?

586






Which event is fired at the time of project deployment and undeployment?

784


What is the workflow of a servlet?

717


What is the use of servlet wrapper classes?

664


If servlet receives multiple requests, how many objects will it create?

825


What are the uses of servlets?

615


Why do we have servlet wrapper classes?

573


What is called a session?

617


What is a generic servlet?

518


Explain jsessionid?

615


What is servlet and list its types?

538