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

What is httpservlet and how it is different from genericservlet?

688


Can filter be used as request or response?

622


Which http method is said to be non-idempotent and idempotent?

699


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

665


What is called servlet mapping?

641






When servlet is loaded?

677


Can we use the constructor, instead of init(), to initialize servlet?

663


What is the purpose of requestdispatcher interface?

702


What are the important functions of filters?

678


Why do you use session tracking in httpservlet?

720


What are life cycle methods of a servlet?

666


Why is servlet used?

776


What is the main purpose of java servlets?

656


Explain session tracking and its importance?

624


How can we create deadlock situation in servlet?

950