nerdexam
Oracle

1Z0-895 · Question #80

1Z0-895 Question #80: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #80. The question stem and answer options stay visible for context.

Question

Assume an EJB application is comprised of the following EJB fragment: You have been asked to convert the type of InventoryReportBean into a singleton session bean. How would you achieve this task? Exhibit C: Exhibit D:

Exhibits

1Z0-895 question #80 exhibit 1
1Z0-895 question #80 exhibit 2
1Z0-895 question #80 exhibit 3

Options

  • AKeep InventoryReportBean as it is, modifying the internal structure to function as a singleton
  • BChange the @Stateless annotation of InventoryReportBean to @Singleton
  • CCreate an ejb-jar.xml file, and override the annotation configuration information asin exhibit C above.
  • DCreate an ejb-jar.xml file, and override the annotation configuration information asin exhibit D above.

Unlock 1Z0-895 to see the answer

You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 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.

Full 1Z0-895 Practice