nerdexam
Oracle

1Z0-860 · Question #110

A developer wants to create a JMS message-driven bean that responds to javax.jms.TextMessage messages. Which two statements are true? (Choose two.)

The correct answer is B. The developer does NOT need to create a business interface for the bean. D. The message-driven bean class must implement methods of the javax.jms.MessageListener interface. See the full explanation below for the reasoning.

Question

A developer wants to create a JMS message-driven bean that responds to javax.jms.TextMessage messages. Which two statements are true? (Choose two.)

Options

  • AThe developer must implement the ejb Create method.
  • BThe developer does NOT need to create a business interface for the bean.
  • CThe developer must implement a method that declares javax.jms.TextMessage as an argument.
  • DThe message-driven bean class must implement methods of the javax.jms.MessageListener interface.
  • EThe message-driven bean class must implement methods of the javax. ejb.

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    77% (17)
  • C
    14% (3)
  • E
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice