nerdexam
Oracle

1Z0-860 · Question #61

A developer is implementing an EJB 3.0 message-driven bean that will be associated with a JMS topic. The bean must NOT miss any messages published to the topic, even if the EJB server is down for…

The correct answer is A. The developer should set the activation config properly subscription Durability to value Durable. See the full explanation below for the reasoning.

Question

A developer is implementing an EJB 3.0 message-driven bean that will be associated with a JMS topic. The bean must NOT miss any messages published to the topic, even if the EJB server is down for some time. Which is correct?

Options

  • AThe developer should set the activation config properly subscription Durability to value Durable.
  • BThe developer should set the activation config property subscription Durability to value NonDurable.
  • CClients must take care of resending messages to the topic in case of missing message
  • DThe developer does NOT need to do anything, because as long as the EJB server is down no client can

How the community answered

(18 responses)
  • A
    83% (15)
  • B
    6% (1)
  • D
    11% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice