1 / 44

ARCH-2: UML 101 - From Design to Implementation using UML

ARCH-2: UML 101 - From Design to Implementation using UML. Frank Beusenberg. Senior Technical Consultant. Theory vs. Practice. The difference between theory and practice is that, in theory, there is no difference between theory and practice. Shu-Ha-Ri. Shu - Learning Ha - Understanding

laban
Download Presentation

ARCH-2: UML 101 - From Design to Implementation using UML

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ARCH-2: UML 101 - From Design to Implementation using UML Frank Beusenberg Senior Technical Consultant

  2. Theory vs. Practice The difference between theory and practice is that, in theory, there is no difference between theory and practice. ARCH-2: UML 101 - From Design to Implementation using UML

  3. Shu-Ha-Ri Shu - Learning Ha - Understanding Ri - Be creative ARCH-2: UML 101 - From Design to Implementation using UML

  4. Agenda • Introduction • UML 2.0 Diagrams • Use Case View • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  5. Introduction What is UML? Facts • 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! ARCH-2: UML 101 - From Design to Implementation using UML

  6. Introduction What is UML? ARCH-2: UML 101 - From Design to Implementation using UML

  7. Introduction Why model? • 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 ARCH-2: UML 101 - From Design to Implementation using UML

  8. Introduction Why use 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 ARCH-2: UML 101 - From Design to Implementation using UML

  9. Agenda • Introduction • UML 2.0 Diagrams • Use Case View • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  10. UML 2.0 Diagrams UML 2.0 Types of Diagrams – Behavior Diagrams ARCH-2: UML 101 - From Design to Implementation using UML

  11. UML 2.0 Behavioral Diagrams UML Use Case Diagram • Describes the functional requirements of the system ARCH-2: UML 101 - From Design to Implementation using UML

  12. UML 2.0 Behavioral Diagrams UML Activity Diagram • Describe procedural logic, business processes and workflow ARCH-2: UML 101 - From Design to Implementation using UML

  13. UML 2.0 Behavioral Diagrams UML Sequence Diagram • Describes the message flow between objects in chronological order ARCH-2: UML 101 - From Design to Implementation using UML

  14. UML 2.0 Diagrams UML 2.0 Types of Diagrams – Structure Diagrams ARCH-2: UML 101 - From Design to Implementation using UML

  15. UML 2.0 Structural Diagrams UML Class Diagram • Captures logical structure of system ARCH-2: UML 101 - From Design to Implementation using UML

  16. UML 2.0 Structural Diagrams UML Component Diagram • Illustrates the pieces of software that will make up a system. ARCH-2: UML 101 - From Design to Implementation using UML

  17. UML 2.0 Structural Diagrams UML Deployment Diagram • Shows how and where the system will be deployed. ARCH-2: UML 101 - From Design to Implementation using UML

  18. UML Modeling Logical View Implementation View Use Case View Dynamic View Deployment View ARCH-2: UML 101 - From Design to Implementation using UML

  19. Model-Driven Architecture (MDA) ARCH-2: UML 101 - From Design to Implementation using UML

  20. Agenda • Introduction • UML 2.0 Diagrams • Use Case View • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  21. 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!) ARCH-2: UML 101 - From Design to Implementation using UML

  22. AutoPark - Use Case View Use Case Packages ARCH-2: UML 101 - From Design to Implementation using UML

  23. AutoPark - Use Case View Use Case Diagram ARCH-2: UML 101 - From Design to Implementation using UML

  24. 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! ARCH-2: UML 101 - From Design to Implementation using UML

  25. AutoPark - Use Case View Activity Diagram ARCH-2: UML 101 - From Design to Implementation using UML

  26. 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) ARCH-2: UML 101 - From Design to Implementation using UML

  27. Agenda • Introduction • UML 2.0 Diagrams • Use Case View • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  28. 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 ARCH-2: UML 101 - From Design to Implementation using UML

  29. AutoPark - Logical View Class Diagram ARCH-2: UML 101 - From Design to Implementation using UML

  30. AutoPark - Logical View Patterns • "A pattern is a proven solution to a problem in a context." ARCH-2: UML 101 - From Design to Implementation using UML

  31. Agenda • Introduction • UML 2.0 Diagrams • Requirements • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  32. AutoPark - Dynamic View Describing Behavior • Identify objects involved • Identify interactions (messages) • Use public operations • Describe how things work ARCH-2: UML 101 - From Design to Implementation using UML

  33. AutoPark - Dynamic View Describing Behavior ARCH-2: UML 101 - From Design to Implementation using UML

  34. Agenda • Introduction • UML 2.0 Diagrams • Requirements • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  35. AutoPark - Implementation View ARCH-2: UML 101 - From Design to Implementation using UML

  36. Agenda • Introduction • UML 2.0 Diagrams • Requirements • Logical View • Dynamic View • Implementation View • Demonstration • Q&A ARCH-2: UML 101 - From Design to Implementation using UML

  37. Demonstration ARCH-2: UML 101 - From Design to Implementation using UML

  38. In Summary • Model & Design • Manage complexity • Minimize risk • Facilitate communication • Use UML • De facto standard • Unambiguous • Documentation ARCH-2: UML 101 - From Design to Implementation using UML

  39. For More Information, go to… Relevant Exchange Sessions • ARCH-6: UML Modeling with Enterprise Architect ARCH-2: UML 101 - From Design to Implementation using UML

  40. For More Information, go to… Relevant Web Resources • Object Management Group • http://www.omg.org • Hillside.net Patterns Library • http://hillside.net/patterns ARCH-2: UML 101 - From Design to Implementation using UML

  41. For More Information, go to… Relevant Literature • Addison-Wesley Object Technology Series • UML Distilled Third Edition • Martin Fowler – ISBN 0-321-19368-7 • Use Case Driven Object Modeling with UML • Doug Rosenberg – ISBN 0-201-43289-7 • Developing Software with UML • Bernd Oestereich – ISBN 0-201-75603-X ARCH-2: UML 101 - From Design to Implementation using UML

  42. Questions? ARCH-2: UML 101 - From Design to Implementation using UML

  43. Thank you foryour time ARCH-2: UML 101 - From Design to Implementation using UML

  44. ARCH-2: UML 101 - From Design to Implementation using UML

More Related