ARCH-2: UML From Design to Implementation using UML Frank Beusenberg Senior Technical Consultant
© 2006 Progress Software Corporation2 ARCH-2: UML From Design to Implementation using UML Theory vs. Practice The difference between theory and practice is that, in theory, there is no difference between theory and practice.
© 2006 Progress Software Corporation3 ARCH-2: UML From Design to Implementation using UML Shu-Ha-Ri Shu- Learning Ha- Understanding Ri- Be creative
© 2006 Progress Software Corporation4 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Use Case View Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation5 ARCH-2: UML From Design to Implementation using UML UML = Unified Modeling Language First UML spec in 1997 Current version = 2.0 Object Management Group (OMG) Graphical language Object Oriented in nature Has syntax rules Can be extended using stereotypes NOT a methodology! Introduction What is UML? Facts
© 2006 Progress Software Corporation6 ARCH-2: UML From Design to Implementation using UML Introduction What is UML?
© 2006 Progress Software Corporation7 ARCH-2: UML From Design to Implementation using UML Manage complexity Mitigate risk Facilitate communication Modeling provides ability to visualize entire systems, assess options and designs Software has grown from do-it-yourself into highly complex systems Software is integral part of business process, so has to be well planned Software has become capital equipment that cannot just be removed/changed Introduction Why model?
© 2006 Progress Software Corporation8 ARCH-2: UML From Design to Implementation using UML Specify, visualize, and document models of software systems Current and new systems Structure and design Behavior and interaction De facto standard (Tool Support!) Unambiguous and consistent notation Documentation Introduction Why use UML?
© 2006 Progress Software Corporation9 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Use Case View Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation10 ARCH-2: UML From Design to Implementation using UML UML 2.0 Diagrams UML 2.0 Types of Diagrams – Behavior Diagrams
© 2006 Progress Software Corporation11 ARCH-2: UML From Design to Implementation using UML UML 2.0 Behavioral Diagrams Describes the functional requirements of the system UML Use Case Diagram
© 2006 Progress Software Corporation12 ARCH-2: UML From Design to Implementation using UML UML 2.0 Behavioral Diagrams Describe procedural logic, business processes and workflow UML Activity Diagram
© 2006 Progress Software Corporation13 ARCH-2: UML From Design to Implementation using UML UML 2.0 Behavioral Diagrams Describes the message flow between objects in chronological order UML Sequence Diagram
© 2006 Progress Software Corporation14 ARCH-2: UML From Design to Implementation using UML UML 2.0 Diagrams UML 2.0 Types of Diagrams – Structure Diagrams
© 2006 Progress Software Corporation15 ARCH-2: UML From Design to Implementation using UML UML 2.0 Structural Diagrams Captures logical structure of system UML Class Diagram
© 2006 Progress Software Corporation16 ARCH-2: UML From Design to Implementation using UML UML 2.0 Structural Diagrams Illustrates the pieces of software that will make up a system. UML Component Diagram
© 2006 Progress Software Corporation17 ARCH-2: UML From Design to Implementation using UML UML 2.0 Structural Diagrams Shows how and where the system will be deployed. UML Deployment Diagram
© 2006 Progress Software Corporation18 ARCH-2: UML From Design to Implementation using UML UML Modeling Use Case View Logical View Dynamic View Implementation View Deployment View
© 2006 Progress Software Corporation19 ARCH-2: UML From Design to Implementation using UML Model-Driven Architecture (MDA)
© 2006 Progress Software Corporation20 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Use Case View Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation21 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Describing system functionality Gathering requirements Functional & non-functional requirements Document functional requirements UML Use Case Diagram Use Case Description Documents Identify actor(s) and association to use case Create different levels of use cases (re-use!)
© 2006 Progress Software Corporation22 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Use Case Packages
© 2006 Progress Software Corporation23 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Use Case Diagram
© 2006 Progress Software Corporation24 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Describing use case scenario(s) Scenario = Use Case Activity Flow Basic Scenario Alternate Scenario(s) UML Activity Diagram Describe what happens, now how!
© 2006 Progress Software Corporation25 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Activity Diagram
© 2006 Progress Software Corporation26 ARCH-2: UML From Design to Implementation using UML AutoPark - Use Case View Creating Test Scenarios Identify paths in activity diagram Create minimal test-scenarios (using each path once) Create all possible test-scenarios (combining all paths to create unique scenarios)
© 2006 Progress Software Corporation27 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Use Case View Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation28 ARCH-2: UML From Design to Implementation using UML AutoPark - Logical View Designing The System Structure Identify entities/things used in use case Identify attributes Identify operations Identify entity relations Identify multiplicity Create class diagram
© 2006 Progress Software Corporation29 ARCH-2: UML From Design to Implementation using UML AutoPark - Logical View Class Diagram
© 2006 Progress Software Corporation30 ARCH-2: UML From Design to Implementation using UML AutoPark - Logical View Patterns "A pattern is a proven solution to a problem in a context."
© 2006 Progress Software Corporation31 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Requirements Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation32 ARCH-2: UML From Design to Implementation using UML AutoPark - Dynamic View Describing Behavior Identify objects involved Identify interactions (messages) Use public operations Describe how things work
© 2006 Progress Software Corporation33 ARCH-2: UML From Design to Implementation using UML AutoPark - Dynamic View Describing Behavior
© 2006 Progress Software Corporation34 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Requirements Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation35 ARCH-2: UML From Design to Implementation using UML AutoPark - Implementation View
© 2006 Progress Software Corporation36 ARCH-2: UML From Design to Implementation using UML Agenda Introduction UML 2.0 Diagrams Requirements Logical View Dynamic View Implementation View Demonstration Q&A
© 2006 Progress Software Corporation37 ARCH-2: UML From Design to Implementation using UML Demonstration
© 2006 Progress Software Corporation38 ARCH-2: UML From Design to Implementation using UML In Summary Model & Design Manage complexity Minimize risk Facilitate communication Use UML De facto standard Unambiguous Documentation
© 2006 Progress Software Corporation39 ARCH-2: UML From Design to Implementation using UML For More Information, go to… ARCH-6: UML Modeling with Enterprise Architect Relevant Exchange Sessions
© 2006 Progress Software Corporation40 ARCH-2: UML From Design to Implementation using UML For More Information, go to… Object Management Group Hillside.net Patterns Library Relevant Web Resources
© 2006 Progress Software Corporation41 ARCH-2: UML From Design to Implementation using UML For More Information, go to… Addison-Wesley Object Technology Series UML Distilled Third Edition Martin Fowler – ISBN Use Case Driven Object Modeling with UML Doug Rosenberg – ISBN Developing Software with UML Bernd Oestereich – ISBN X Relevant Literature
© 2006 Progress Software Corporation42 ARCH-2: UML From Design to Implementation using UML Questions?
© 2006 Progress Software Corporation43 ARCH-2: UML From Design to Implementation using UML Thank you for your time
© 2006 Progress Software Corporation44 ARCH-2: UML From Design to Implementation using UML