Oracle
1Z0-807 · Question #14
A company is extending is successful social networking site to support the following channels: instant messaging (IM), email messaging and text messaging/SMS. At present, the site has scaled 400% in…
The correct answer is B. Place messaging on a Java messaging Service (JMS) queue and use message-driven beans (MDBs). See the full explanation below for the reasoning.
Question
A company is extending is successful social networking site to support the following channels:
instant messaging (IM), email messaging and text messaging/SMS. At present, the site has scaled 400% in one year using a standard MVC Web framework the application experiences large surges or spikes in demand and also periods of inactivity. Notification delivery to the three channels does not need to be guaranteed. Which solutions extends the current architecture and best meets the company's requirements?
Options
- ASend the notification inline, that is, within the normal HTTP request-response cycle.
- BPlace messaging on a Java messaging Service (JMS) queue and use message-driven beans (MDBs)
- CInsert the messages into a database and use plain old Java Objects (POJOs) to read the messaging
- DInsert the messages into a database and use entity beans to read the messages using JDBC and
How the community answered
(50 responses)- A4% (2)
- B84% (42)
- C2% (1)
- D10% (5)
Community Discussion
No community discussion yet for this question.