Answer Posted / azannah
Based on the context ("Categories >> Software >> Java-
Related >> Java-J2EE >> Servlets"), "context switching"
occurs when a processor (or core in a multi-core processor)
stops executing one thread to start executing another.
Since a context switch is not a free process, too many
context switches/sec can reduce the overall ability of the
processor to do real work.
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
Why do we need a constructor in a servlet if we use the init method?
What is a servlet context?
What are the functions of an intercepting filter?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
Can we use the constructor, instead of init(), to initialize servlet?
Whats the advantages using servlets over using CGI?
Explain the steps involved in placing a servlet within a package?
How do you deal property files in servlet?
What do you mean by interservlet communication?
Which method is called when reference variable is passed in system.net?
What is a web container and what is its responsibility?
Explain the working of service() method of a servlet.
What is the difference between forward () and sendredirect () functions in servlet? Explain
Is dispatcher servlet a singleton?
What is the procedure of invoking different servlet in a different application?