Oracle
1Z0-860 · Question #233
1Z0-860 Question #233: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #233. The question stem and answer options stay visible for context.
Question
A developer creates a stateless session bean. This session bean needs data from a remote system. Reading this data takes a long time. Assume that the data will NOT change during the lifetime of the bean and that the information to connect to the remote system is defined in JNDI. Which statement describes how to manage the data correctly?
Options
- ARead the datain the bean's constructor.
- BThe data can only be read in the bean's business methods.
- CRead the data in a method which is annotated with @PrePassivate.
- DRead the data in a method which is annotated with @Post Activate.
- ERead the data ina method which is annotated with (5)PostConstruct.
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.