Which two are true about this decision?

A company has a business application that allows end users to order products over the web. A
developer in the company wants to add the following capability to the application:
When the web-tier handles a new order, it should notify all the interested beans in the EJB-tier.
To satisfy this new capability, the developer wants to use a message-driven bean and must
choose between associating it with a javax.jms.Topic destination or a javax.jms.Queue
destination.
Which two are true about this decision? (Choose two.)

A company has a business application that allows end users to order products over the web. A
developer in the company wants to add the following capability to the application:
When the web-tier handles a new order, it should notify all the interested beans in the EJB-tier.
To satisfy this new capability, the developer wants to use a message-driven bean and must
choose between associating it with a javax.jms.Topic destination or a javax.jms.Queue
destination.
Which two are true about this decision? (Choose two.)

A.
JMS Topics are intendedtobe usedtosolvethistype of scenario.

B.
JMS Queues areintendedto be used to solvethistype of scenario.

C.
OnlyQueue destinations allow for messages tosurvivea server crash.

D.
Topic destinationsallowthe developer to configure subscription durability.



Leave a Reply 0

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