nerdexam
GIAC

GSSP-JAVA · Question #104

Which of the following statements about exceptions in message-driven beans are true? Each correct answer represents a complete solution. Choose two.

The correct answer is D. The isCallerInRole() method called on a message-driven bean will throw an exception. E. Message-driven beans must not throw any checked exception. See the full explanation below for the reasoning.

Question

Which of the following statements about exceptions in message-driven beans are true? Each correct answer represents a complete solution. Choose two.

Options

  • AMessage-driven beans must not throw any application exception.
  • BThe message-listener interface of a message-driven bean cannot generate system
  • CThe message-listener interface of a message-driven bean can throw the
  • DThe isCallerInRole() method called on a message-driven bean will throw an exception.
  • EMessage-driven beans must not throw any checked exception.

How the community answered

(32 responses)
  • A
    9% (3)
  • B
    3% (1)
  • C
    3% (1)
  • D
    84% (27)

Community Discussion

No community discussion yet for this question.

Full GSSP-JAVA Practice