How do we model components?
What will be an ideal response?
The standard UML icon is a box with two tabs, similar to a plug. Components, however, can also be represented by "stereotyped" boxes. A component can be modeled both as a black box that hides its internal structure, and as a white box that exposes that structure.
In black-box modeling, we represent the interfaces that the component supports as lines that end in a circle. The outside world can interact with the component only through these interfaces. In turn, if the component requires an external interface in its environment, the requirement is shown as a line ending in a half-circle. This arrangement is often called "ball and socket" because the interface provided by one component must fit into the "socket" provided by its "client."
In white-box modeling, the internal structure of the component is shown as a diagram inside the stereotyped box that represents the component. The communication between entities inside the box and outside entities takes place through ports, shown as small boxes that are situated on the borders of the component box. An "incoming" port delegates a provided interface to an object, or another component, inside the component. An "outgoing" port conveys requests by internal entities to the required interface of an outside component.
You might also like to view...
Job design is __________.
a. employee stock ownership plans that motivate employees to boost production by offering them shares of company stock as a benefit b. a strategy that managers can use to motivate organization members that involves designing jobs that organization members perform c. a job design strategy that states that adding activities to initial activities will increase an individual's satisfaction d. a job design strategy that states that moving workers from job to job, rather than requiring them to perform only one simple job, will decrease boredom
Companies implementing ________ enterprise resource planning (ERP) can benefit from scalability and agility
A) cloud-based B) internal-drive C) hard drive D) subsidiary E) in-memory