soen343-week9 - SOEN 343 Software Design Section H Fall...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler http://www.cs.concordia.ca/~gregb/home/soen343h-f06.html
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Outline Architecture 4+1 Views Examples, Larman ch 39 GRASP Principles Polymorphism Protected Variations EA Domain Logic patterns EA Data Source patterns
Background image of page 2
Architecture … deals with the top-level structure . Components Interrelationships
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Documentation of Architectures Architecture Document = View A + View B + View C + … View X + “Beyond Views”
Background image of page 4
“4+1” View Model of Arch. By Philippe Kruchten [Kruchten95] Rational Unified Process.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
“4+1” View Model of Arch. Deployment/ Implementation/
Background image of page 6
“4+1” View Model of Arch. Deployment/ Implementation/ Logical View The object model of the system Process View The behavioural model of the system Implementation View The software components, libraries, packages, etc Deployment View How software maps to hardware
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
“4+1” View Model of Arch. Deployment/ Implementation/ Use Case View The scenarios of the system Ties everything together Allows tracing of other views for verification Note that scenarios can cover non-functional requirements too
Background image of page 8
Logical View Fig. 39.1 Log4J Technical Services Domain UI Pricing Persistence DBFacade Taxes «interface» ITaxCalculatorAdapter Services Factory Sales Register Sale Swing ProcessSale Frame Payments CreditPayment «interface» ICreditAuthorization ServiceAdapter ServiceAccess Inventory «interface» IInventoryAdapter Jess POSRuleEngine POSRuleEngineFacade SOAP
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Deployment View Fig. 39.2 «terminal» : POSTerminal { JVM = Sun Hotspot Client 2.0 } custom protocols on top of TCP «artifact» NextGenClient.jar «server» : Dell PowerEdge 3600 { OS=Red Hat Enterprise Linux 4 } «database» : PostgreSQL 10 «artifact» Product Tables «server» : Dell PowerEdge 3600 { OS=Red Hat Enterprise Linux 4 } «artifact» GoodAsGoldTaxCalculator.exe «server» : GenericServer «ERP» : SAP «server» : GenericServer «system» CreditPayment Authorizer SOAP over HTTP V I S A p r o t c l v e T C P SQL over TCP inventory and accounting
Background image of page 10
Process View Fig. 39.3 Tax Calculator NextGen POS Sale Calc Taxes Request Payment Authorization Enter Items «datastore» Products Payment Authorization Request Authorize Payment Update ERP Reply «datastore» Inventory «datastore» Accounting Data Flow Scenario for Process Sale Use Case
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Process View Fig. 39.4 : Domain:: Sales:: Register :Cashier : UI:: Swing:: Process SaleJFrame enterItem (id, qty) 1 : Tech- Services:: Persistence:: Persistence- Facade desc = getProduct Desc(id) x = isInvalid (lineItem, sale) desc = getObject(. ..,id) 1 : Domain:: POSRule- Engine:: POSRule- Engine Facade enterItem (id, qty) s : Domain:: Sales:: Sale : Domain:: Products:: Product Catalog makeLineItem(desc, qty) «subsystem» : Tech- Services ::Jess someJessCalls(lineItem, sale) onPropertyEvent(s, "sale.total", total)
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 03/28/2011.

Page1 / 58

soen343-week9 - SOEN 343 Software Design Section H Fall...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online