問題詳情

28 An application stores session data in a JavaBean object. The object is then stored in theHttpSession object.Which is true?
(A) Synchronization of all bean methods is required to ensure thread safety.
(B) Thread safety is not an issue, since concurrent access to a single session is impossible.
(C) Appropriate protection against problems caused by concurrent access should be provided by thebean.
(D) The servlet should take precautions to ensure that concurrent access to the bean is prevented.
(E) The servlet should implement SingleThreadModel

參考答案

無參考答案

內容推薦