3. Object-Oriented Development
and Component-Based software
|
|
An object is a unit of instantiation; it has a unique identity | A component is a unit of independt deployment |
An object has state; this state can be persistent state. | A component has no persistent state. |
An object encapsulates its state and behaviour | A component is a unit of third-party composition |
Inheritance | Low coupling is desired |