Which two are true about the client view of a message-driven bean? (Choose two.)
A.
References to message destinations can be infected.
B.
References to message destinations cannot be looked up in the client’s JNDI namespace.
C.
Clients of a message destination need to know that the destination is listened to by a pool of
message consumers,
D.
Clients of a message destination do NOT need to know that the destination is listened to by a
message-driven bean.
Explanation:
Client components do not locate message-driven beans and invoke methods
directly on them.
Instead, a client accesses a message-driven bean through, for example, JMS by sending
messagesto the message destination for which the message-driven bean class is the
MessageListener.
Reference: The Java EE 6 Tutorial, What is a Message-Driven Bean?
A D
A D is the correct answer
What does “infected” mean in this context? Is that a typo?
Never mind i finally figured it out, it’s supposed to say “injected” 🙂