Mock QUESTION :
If a
servlet is designed to execute in single-threaded mode as part of a distributed Web application, which is true?
A. The servlet container must only instantiate one instance of the servlet within each
Java Virtual Machine.
B. The servlet definition in the Web application deployment descriptor must include the element.
C. The servlet container may instantiate multiple instances of that servlet in each Java Virtual Machine within the container.
D. The servlet container manages the thread-safety of the session object within each of the Java Virtual Machines in the distributed application.
The answer is C.
Can anybody explain why? and Is the single-Thread related questions on the exam ?
Thanks in advance