READ Free Dumps For Oracle- 1z0-899
Question ID 4639 | A developer chooses to avoid using singieThreadModel but wants to ensure that data If; updated in a thread safe manner. |
Option A | A. Store the data in a local variable. |
Option B | B. Store the data in an instance variable. |
Option C | C. Store the data in the Httpsession object. |
Option D | D. Store the data in the sarvletContext object. |
Option E | E. Store the data in the ServletRequest object. |
Correct Answer | A,E |
Question ID 4640 | You have a use in your web application that adds several session-scoped attributes. At the end of the use case, one of these objects, the manage attribute, is removed and then it needs to decide which of the other session-scoped attributes to remove. |
Option A | A. The object of the manager attribute should implement the HttpSessionBindingListener and it should call the removeAttribute method on the appropriate session attributes. |
Option B | B. The object of the manager attribute should implement the HttpSessionListenar and it should call the removeAttribute method on the appropriate session attributes. |
Option C | C. The object of the manager attribute should implement the HttpSessionBindingListener rind it should call the deleteAttribute method on the appropriate session attributes. |
Option D | D. The object of the manager attribute should implement the HttpsessionListener and it should call the deleteAttribute method on the appropriate session attributes. |
Correct Answer | A |