A company is extending its successful social networking site to support the following channels: IM
(instant messaging), email messaging, and text messaging/SMS. At present, the site has scaled
400 percent 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 solution extends the current architecture and
best meets the company’s requirements?
A.
Send the notifications inline, that is, within the normal HTTP request-response cycle
B.
Place messages on a JMS queue and use MDBs to create and send the notifications
C.
Insert the messages into a database and use POJOs to read the messages using JDBC and
send the notifications
D.
Insert the messages into a database and use entity beans to read the messages using JDBC
and send the notifications