The sequence diagram (attached) maps to the Model-View Controller (MVC) development pattern.
Which statement best describes how the sequence diagram maps to the MVC development
pattern?
A.
The three process blocks (or tiers) represented in the sequence diagram map from left to right
to Controller, View, Model.
B.
The three process blocks (or tiers) represented in the sequence diagram map from left to right
to View, Controller, Model.
C.
The Controller and View appear in the first process block (starting from the left of the diagram)
while the Model spans the next two blocks (incorporating service Invocation and database).
D.
The sequence diagram does not map to MVC.
Explanation:
The controller receives input from the user and makes the corresponding calls on
model elements. The response to the user input is displayed via the view elements.
A single user input may result in changes to none, one, or many view elements.
The view renders data from the model into a suitable interface element. Multiple
different views may exist for a single model element. Each view element is
designed to support a particular end user need; whereas the model elements are
shared by all users of the system.
The model manages the behavior and data for the system. The model responds to
requests for information about its state from the view, and responds to instructions
from the controller to change state or execute behavior. The model may also notify
the view when information changes so that the view can update the effected
interface elements.
Reference: Oracle Reference Architecture, User Interaction, Release 3.0