The answer of the question below is d. Could anybody tell me why?
Thanks in advance.
A
Servlet must perform 3 operations that are independent of one another. They are time consuming with each operation consuming about 10
msec of CPU. The Servlet's response depends on the completion of all three operations. The developer decides to perform each operation
on a separate worker
thread to run them concurrently. Which of the following describe important parts of this implementation?
a) The Servlet should implement MultiThreadModel.
b) The Servlet should implement SingleThreadModel.
c) Access to the HttpSession must be synchronized.
d) The worker threads must not write to the ServletOutputStream.
e) The worker threads must not read from the ServletInputStream.