Oracle
1Z0-895 · Question #80
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?…
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.
Session Beans
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
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.
Topics
#singleton session bean#@Singleton#ejb-jar.xml override#bean type conversion


