Professional Documents
Culture Documents
6 12 From Logical Design To Physical Design
6 12 From Logical Design To Physical Design
6 12 From Logical Design To Physical Design
• deployment
Implementation Design
• Component 6= object
– Component 7→ one or more objects (COM)
– one method implementation per interface
– language independent specification
• Component 6= distributed object
alternatives: in process (DLL), local (IPC), remote (RMI, SOAP,
CORBA)
• Component 6= class
– physical structure vs. logical structure
– inheritance
• interface management (IDL)
• dynamic binding
OOA OOD
Account
Account
*
average
1
AccountC
average
OOD
Company AddressT Person
1 1
street
town
state
OO-layer transforms
1. classes → relations
2. associations → secondary keys
3. inheritance → system of relations
4. compound types → base types
5. optimistic → pessimistic transactions
6. OO-access methods → SQL
• 1 : m-association:
K1
K1 K2 OID1 A1 A2
A1 1 * A3
A2 A4
K2
OID2 A3 A4 OID1
Customer Employee
Customer Employee OID Sales OID Wage
Sales Wage 27 3212 42 4619
• identifier conventions
• base types
• administrative operations (constructors, destructors, initialization,
management of associations and aggregations, access and update of
attributes)
• container classes
• visibility
• transfer object lifecycles (FSM) to algorithms
viz. the state pattern