Oracle
1Z0-895 · Question #12
1Z0-895 Question #12: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #12. The question stem and answer options stay visible for context.
Question
MyMsgBean is a JMS message-driven with container-managed transaction demarcation. FooBean is an EJB 3.x stateless session bean that sends messages to the JMS destination with which MyMsgBean is associated. MyMsgBean's message listener method has transaction attribute REQUIRED, and is defined as follows: Which statement is true about the result of the message processing?
Options
- AFooBean receives javax.ejb.EJBException.
- BThe container discards the MyMsgBean bean instance.
- CFooBean receives the original RuntimeException thrown from the message listener method.
- DThe container does NOT roll back the transaction, and FooBean can continue the transaction.
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.