CSC302H1 Lecture Notes - Lecture 3: Java Database Connectivity, Blackboard, Checkbox
Document Summary
Package diagrams models structure of code: package is a grouping construct, package elements can be. Models ex. use case models, interaction diagrams, package. Criteria for decomposing system in packages: each element of a uml model is owned by a single, each package represents a namespace, 1. Cluster of classes w/ strong cohesion: architectural pattern can suggest suitable decomposition, named package. Each problem has its own obvious partition. Package w/ fully qualified name: package containing a class diagram qualified name. Package w: package w/ list of contained classes. Component-based design emphasize separation of concerns in a software system w/ a wide-range of functionalites: ex. a control componenet, component diagrams. Socket (semi-circle) = dependency/ a needed interface. Checkout component requires the care processing component to charge a customer"s credit/debit card. Coupling and cohesion inside a module: coupling calls from outside of the module to classes, cohesion calls amongst classes inside a module, architectural building blocks, good software architecture.