lec 20 Component-based software engineering
lec 20 Component-based software engineering
CSCI 3701
Presented By:
Prof. Sally Mohamed Elghamrawy
1
Chapter 17 Component-
based software engineering
2
Topics covered
3
Component-based development
4
CBSE problems
5
Component definitions
7
Component interfaces
• Provides interface
– Defines the services that are provided by the component to other
components.
– This interface, essentially, is the component API. It defines the
methods that can be called by a user of the component.
• Requires interface
– Defines the services that specifies what services must be made
available for the component to execute as specified.
8
Component interfaces
9
A model of a data collector component
10
Component models
11
Basic elements of a component model
12
CBSE processes
14
CBSE processes
15
Supporting processes
16
Component composition
17
Types of composition
18
Types of component composition
19
Interface incompatibility
20
Components with incompatible interfaces
21
Adaptor components
22
Composition through an adaptor
23
An adaptor linking a data collector and a sensor
24
Photo library composition
25