Which two are true about the client view of a message-driven bean?

Which two are true about the client view of a message-driven bean? (Choose two.)

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?



Leave a Reply 4

Your email address will not be published. Required fields are marked *


goran

goran

A D is the correct answer

g

g

What does “infected” mean in this context? Is that a typo?

g

g

Never mind i finally figured it out, it’s supposed to say “injected” 🙂