Accelerating Java Development with the UML Greg Schottland

  • Slides: 21
Download presentation
Accelerating Java Development with the UML Greg Schottland General Manager, Application Development Tools Embarcadero

Accelerating Java Development with the UML Greg Schottland General Manager, Application Development Tools Embarcadero Technologies, Inc.

Tutorial Outline l Part 1: Quick Overview of the UML l Part 2: Practical

Tutorial Outline l Part 1: Quick Overview of the UML l Part 2: Practical UML l Part 3: Demonstration

Part One UML Overview

Part One UML Overview

What is the UML l Unified Modeling Language l An industry standard design notation

What is the UML l Unified Modeling Language l An industry standard design notation for: èExpressing software architecture èExpressing software dynamics and behavior èDocumenting software deployment l OMG standard l The de-facto industry standard today l The UML supports both Process and Architecture

UML Architecture Support 4 + 1 View Model of Architecture Design View Implementation View

UML Architecture Support 4 + 1 View Model of Architecture Design View Implementation View Class & Object Diagrams Interaction Diagrams Statechart Diagram Activity Diagram Use Case View Use Case Diagram Interaction Diagrams Statechart Diagram Activity Diagram Component Diagram Interaction Diagrams Statechart Diagram Activity Diagram Class & Object Diagrams Interaction Diagrams Statechart Diagram Activity Diagram Deployment Diagram Interaction Diagrams Statechart Diagram Activity Diagram Process View Deployment View Reprinted from The Unified Modeling Language Users Guide

Architecture l Use Case View l l l encompasses the use cases that describe

Architecture l Use Case View l l l encompasses the use cases that describe the behavior of the system does not specify the organization of the software system does specify the forces that shape the system’s architecture static aspects are captured in Use Case diagrams dynamic aspects are captured in Interaction (Sequence and Collaboration), Statechart and Activity diagrams

Architecture l Design View classes, interfaces and collaborations that form the vocabulary of the

Architecture l Design View classes, interfaces and collaborations that form the vocabulary of the problem and its solution l supports the functional requirements of the system l static aspects are captured in Class and Object diagrams l dynamic aspects are captured in Interaction, Statechart and Activity diagrams l

Architecture l Process View threads and processes that form the system’s concurrency and synchronization

Architecture l Process View threads and processes that form the system’s concurrency and synchronization mechanisms l addresses performance, reliability, scalability and throughput of the system l static and dynamic aspects are captured as with the Design View with a focus on active classes that represent the processes and threads l

Architecture l Implementation View the components and files used to assemble the system l

Architecture l Implementation View the components and files used to assemble the system l primarily addresses the configuration management of the system’s releases l static aspects are captured in Component diagrams l dynamic aspects are captured in Interaction, Statechart and Activity diagrams l

Architecture l Deployment View the nodes that form the system’s hardware topology l addresses

Architecture l Deployment View the nodes that form the system’s hardware topology l addresses the distribution, delivery and installation of the system l static aspects captured in Deployment diagrams l dynamic aspects captured in Interaction, Statechart and Activity diagrams l

Part Two Practical UML

Part Two Practical UML

Most used UML Diagrams: Class Diagram Use-Case Diagram Sequence Diagram

Most used UML Diagrams: Class Diagram Use-Case Diagram Sequence Diagram

Practical UML l Three main approaches to applying UML technology l Upfront Analysis and

Practical UML l Three main approaches to applying UML technology l Upfront Analysis and Design l Code exploration / discovery l Combination of the above two

Upfront A & D: Models Guide Code Java Source Code

Upfront A & D: Models Guide Code Java Source Code

Code Exploration / Discovery: Code viewed through models Java Source Code

Code Exploration / Discovery: Code viewed through models Java Source Code

Combination: Quick Iteration Between Code and Models Java Source Code

Combination: Quick Iteration Between Code and Models Java Source Code

Part Three Demonstration

Part Three Demonstration

Network Monitor Program Sample application to monitor network performance of clients connected to a

Network Monitor Program Sample application to monitor network performance of clients connected to a server

Network Monitor Model Summary • UML Provides Architecture and Implementation Visibility

Network Monitor Model Summary • UML Provides Architecture and Implementation Visibility

Recommended UML Guides l. SAMS Teach Yourself UML in 24 Hours Schmuller, Joseph. 1999.

Recommended UML Guides l. SAMS Teach Yourself UML in 24 Hours Schmuller, Joseph. 1999. . Indianapolis: SAMS: A Division of Macmillan Computer Publishing. l. Instant UML Miller, Pierre-Alain, 1997. Paris: Wrox Press Ltd. l. The Unified Modeling Language User Guide Booch, Grady, J. Rumbaugh, and I. Jacobson. 1999. Reading: Addison-Wesley. l. Use Case Driven Object Modeling with UML Rosenberg, Doug with Kendall Scott. 1999. Addison-Wesley

Thank You! Greg Schottland Email: greg@gdpro. com Phone: (800) 811 – 2784 Website: http:

Thank You! Greg Schottland Email: greg@gdpro. com Phone: (800) 811 – 2784 Website: http: //www. gdpro. com