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?
A.
Send the notification inline, that is, within the normal HTTP request-response cycle.
B.
Place messaging on a Java messaging Service (JMS) queue and use message-driven beans
(MDBs) to create and send notifications.
C.
Insert the messages into a database and use plain old Java Objects (POJOs) to read the
messaging using JDBC and send notifications.
D.
Insert the messages into a database and use entity beans to read the messages using JDBC
and send notifications.
A
B. As there is no need of delivery notification.
B
B