Oracle
1Z0-860 · Question #280
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 ejbCreate 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
(34 responses)- A3% (1)
- B82% (28)
- C9% (3)
- E6% (2)
Community Discussion
No community discussion yet for this question.