v1.11.4
First, watch the lecture video and read the lecture material, then reply the questions below.
Which of the following statements on managing component interactions are true?
Depencies between components can be complex and hard to manage.
It is not always easy to use components in another context.
Having separate point to point connections for each component interaction eases maintenance.
Which of the following claims about a mediator centralising component dependencies are true?
A mediator makes components independent of each other.
With the interaction as its own component it can be changed without changes to other components.
The mediator simplifies communication from many-to-many to one-to-many.
The centralized mediator component may itselft grow complex.
Which of the following statements on patterns and component dependencies are true?
The facade pattern is used to give a subsystem a simple default interface, suitable for most of the users, to perform higher level services that can connect several functionalities.
A proxy is a component that represents another component in some context so that clients of the component do not know about this.
A callback is a call by the service provider to the service requester during the service execution. It is a technique to allow the caller to get control in the middle of service.
An event is a run-time data object that transfers the state of the whole component and can be used to remove functional dependencies between components.
In message-based communication components implement a generic receive interface (possibly through a broker) and communicate with each other by sending messages.