Introducing Unified Modeling Language 2003-02-26 Byungwook Cho (byungwook.cho@oracle.com)
Table of contents <ul><ul><li>What is UML? </li></ul></ul><ul><ul><li>Elements of UML </li></ul></ul><ul><ul><li>Use case ...
<ul><li>Key point </li></ul><ul><li>Kind of UML diagram </li></ul><ul><li>Role of each UML diagram </li></ul><ul><li>Trace...
1. What is UML ? <ul><li>Unified Modeling Language </li></ul><ul><li>Just Notation </li></ul><ul><li>Goal </li></ul><ul><u...
2. Elements of UML <ul><li>Elements of UML </li></ul><ul><ul><li>Things  </li></ul></ul><ul><ul><li>Relationships </li></u...
2. Elements of UML <ul><li>1) Elements - Things </li></ul><ul><ul><li>Structural things </li></ul></ul><ul><ul><ul><li>Sta...
2. Elements of UML <ul><li>2) Elements - Relationship  </li></ul><ul><ul><li>Dependency </li></ul></ul><ul><ul><li>Associa...
2. Elements of UML <ul><li>3) Elements – Diagrams </li></ul><ul><ul><li>Use case diagram </li></ul></ul><ul><ul><li>Activi...
UML Diagrams Use case  Diagram Class  Diagram Sequence Diagram Collaboration Diagram Activity  Diagram Component Diagram D...
3. Use case diagram <ul><li>Use case Diagram </li></ul><ul><ul><li>Define interaction between system and external environm...
3. Use case Diagram <ul><li>Use case diagram </li></ul>※  Think point : use case scope. Buy Drink Add Ice <<extend>> Inser...
3. Use case Diagram <ul><li>Use case description </li></ul><ul><ul><li>Define use case do “What”, not “How”. </li></ul></u...
4. Activity / State Diagram <ul><li>Activity / State Diagram </li></ul><ul><ul><li>Modeling  dynamic  behavior of system. ...
4. Activity / State Diagram Working Check System Clock Input user action Display user action to screen action Wait for use...
5. Class Diagram <ul><li>Class diagram </li></ul><ul><ul><li>A common techniques to modeling object oriented system. </li>...
5. Class Diagram Class Person{ Company employer = null; : }// Class Person Class Company{ : }// Class Company Multiplicity...
6. Sequence Diagram <ul><li>Sequence diagram </li></ul><ul><ul><li>Dynamic diagram  that describe interaction between obje...
6. Sequence Diagram <ul><li>Example) </li></ul><ul><ul><li>1. GUI notify key stroke to OS </li></ul></ul><ul><ul><li>2. Os...
6. Sequence Diagram :GUI :Os :CPU :Video Card :Monitor Keystroke feedback Init Process Exit ※  Sequence diagram with objec...
7. Collaboration Diagram <ul><li>Collaboration Diagram </li></ul><ul><ul><li>Dynamic diagram  that describe interaction be...
7. Collaboration Diagram :GUI[Process] :OS :CPU :Video Card :Monitor Key stroke 1: notify(Key stroke) 4: notify(Key) 3: up...
8. Component Diagram <ul><li>Component diagram </li></ul><ul><ul><li>Define dependency between physical element of softwar...
8. Component Diagram
9. Deployment Diagram <ul><li>Deployment Diagram </li></ul><ul><ul><li>Define ‘hardware deploy structure’ of each software...
9. Deployment Diagram Device
※  UML diagram tracing relationship. Use case Diagram Activity/State Diagram Class Diagram Conceptual Model Logical Model ...
Object Oriented Software Development Process <ul><li>RUP,XP,OSP,SSADM,Information Engineering Methodolgy </li></ul><ul><li...
Books <ul><li>UML </li></ul><ul><ul><li>UML distilled  </li></ul></ul><ul><ul><li>Beginning java object / Wrox </li></ul><...
Upcoming SlideShare
Loading in...5
×

Introducing Uml And Development Process

8,861

Published on

Process and template for Software development. It is based on Craig Larman\'s software development process. It also describes how to use UML in your project

Published in: Technology
1 Comment
9 Likes
Statistics
Notes
  • plz send me the pojects on airlines
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
8,861
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
596
Comments
1
Likes
9
Embeds 0
No embeds

No notes for slide
  • Introducing Uml And Development Process

    1. 1. Introducing Unified Modeling Language 2003-02-26 Byungwook Cho (byungwook.cho@oracle.com)
    2. 2. Table of contents <ul><ul><li>What is UML? </li></ul></ul><ul><ul><li>Elements of UML </li></ul></ul><ul><ul><li>Use case diagram </li></ul></ul><ul><ul><li>Activity diagram </li></ul></ul><ul><ul><li>Class diagram </li></ul></ul><ul><ul><li>Sequence diagram </li></ul></ul><ul><ul><li>Collaboration diagram </li></ul></ul><ul><ul><li>Component diagram </li></ul></ul><ul><ul><li>Deployment diagram </li></ul></ul>
    3. 3. <ul><li>Key point </li></ul><ul><li>Kind of UML diagram </li></ul><ul><li>Role of each UML diagram </li></ul><ul><li>Trace UML diagram </li></ul>
    4. 4. 1. What is UML ? <ul><li>Unified Modeling Language </li></ul><ul><li>Just Notation </li></ul><ul><li>Goal </li></ul><ul><ul><li>To model system using object-oriented concepts. </li></ul></ul><ul><ul><li>To visualize software structure </li></ul></ul><ul><ul><li>To create modeling language useable by both humans and machines </li></ul></ul><ul><li>History </li></ul><ul><ul><li>1994. Grady Booch (Booch Method), James Rumbaugh (OMT-2) </li></ul></ul><ul><ul><li>1995. Ivar Jacobson (OOSE and the Objectory) </li></ul></ul><ul><ul><li>Rational Software (IBM.2002) </li></ul></ul>
    5. 5. 2. Elements of UML <ul><li>Elements of UML </li></ul><ul><ul><li>Things </li></ul></ul><ul><ul><li>Relationships </li></ul></ul><ul><ul><li>Diagram </li></ul></ul><ul><ul><ul><li>Interaction model of things </li></ul></ul></ul>
    6. 6. 2. Elements of UML <ul><li>1) Elements - Things </li></ul><ul><ul><li>Structural things </li></ul></ul><ul><ul><ul><li>Static things </li></ul></ul></ul><ul><ul><ul><li>Class,Use case,Component,Nodes. </li></ul></ul></ul><ul><ul><li>Behavioral things </li></ul></ul><ul><ul><ul><li>Dynamic things. </li></ul></ul></ul><ul><ul><ul><li>Message,States. </li></ul></ul></ul><ul><ul><li>Grouping things </li></ul></ul><ul><ul><ul><li>Aggregate elements of UML </li></ul></ul></ul><ul><ul><ul><li>Package </li></ul></ul></ul><ul><ul><li>Annotational things </li></ul></ul><ul><ul><ul><li>Like comment. </li></ul></ul></ul><ul><ul><ul><li>Note </li></ul></ul></ul>
    7. 7. 2. Elements of UML <ul><li>2) Elements - Relationship </li></ul><ul><ul><li>Dependency </li></ul></ul><ul><ul><li>Association (method call etc.) </li></ul></ul><ul><ul><li>Generalization </li></ul></ul><ul><ul><li>Realization ( 특정 Things 를 구체화하여 표현하는 관계 ) </li></ul></ul>
    8. 8. 2. Elements of UML <ul><li>3) Elements – Diagrams </li></ul><ul><ul><li>Use case diagram </li></ul></ul><ul><ul><li>Activity diagram </li></ul></ul><ul><ul><li>Class diagram </li></ul></ul><ul><ul><li>Sequence diagram </li></ul></ul><ul><ul><li>Collaboration diagram </li></ul></ul><ul><ul><li>Component diagram </li></ul></ul><ul><ul><li>Deployment diagram </li></ul></ul>
    9. 9. UML Diagrams Use case Diagram Class Diagram Sequence Diagram Collaboration Diagram Activity Diagram Component Diagram Deployment Diagram Static Dynamic Analyze system domain (Use Case View) Relationship between class,object (Logical view) System structure and arrangement (Physical view or Implementation view) Development process
    10. 10. 3. Use case diagram <ul><li>Use case Diagram </li></ul><ul><ul><li>Define interaction between system and external environment </li></ul></ul><ul><ul><ul><li>※ external environment user,external system etc. </li></ul></ul></ul><ul><ul><li>Visualize system function and elements. </li></ul></ul><ul><ul><li>Frequently used in analysis phase. </li></ul></ul><ul><ul><li>Main factor in RUP </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Actor,Use case,Association -> Diagram </li></ul></ul><ul><ul><li>Use case description </li></ul></ul>Very Important!!
    11. 11. 3. Use case Diagram <ul><li>Use case diagram </li></ul>※ Think point : use case scope. Buy Drink Add Ice <<extend>> Insert Coin <<include>> Bending Machine Buyer
    12. 12. 3. Use case Diagram <ul><li>Use case description </li></ul><ul><ul><li>Define use case do “What”, not “How”. </li></ul></ul><ul><ul><li>Include </li></ul></ul><ul><ul><ul><li>Start condition. </li></ul></ul></ul><ul><ul><ul><li>Functional flow of use case. </li></ul></ul></ul><ul><ul><ul><li>Interaction within actor and use case. </li></ul></ul></ul><ul><ul><ul><li>Data,selection,exception flow. </li></ul></ul></ul>▷ Use case: Use case name ▷ Actor: Actor name that uses this use case ▷ Cross Reference : Requirement # in client requirement list ▷ Purpose: mission objective of this use case ▷ Overview: over view of this use case ▷ Type: Primary,Secondary, or Optional ▷ Main Flow ▷ Detailed Flow ▷ Alternative Flow ▷ Exception <ul><li>○ Actor Action </li></ul><ul><li>… </li></ul><ul><li>… </li></ul><ul><li>4. … </li></ul>○ System Response 3. … 시작조건 <Actor> <Event>
    13. 13. 4. Activity / State Diagram <ul><li>Activity / State Diagram </li></ul><ul><ul><li>Modeling dynamic behavior of system. </li></ul></ul><ul><ul><li>Can be used in modeling use case life cycle,system life cycle and object life cycle etc. </li></ul></ul><ul><ul><li>Modeling object state transition (by event). </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Activity,Transition,Decision,Synchronization bars,State,Swim Lane </li></ul></ul><ul><li>※ Activity Diagram – Business Process,Operation Algorithm. </li></ul><ul><li>※ State Diagram – Pre/Post condition of component. </li></ul>
    14. 14. 4. Activity / State Diagram Working Check System Clock Input user action Display user action to screen action Wait for user action Refresh time [Time check] Run screen saver H [Time over] Press key or move mouse History State Sub state Sub state State transition
    15. 15. 5. Class Diagram <ul><li>Class diagram </li></ul><ul><ul><li>A common techniques to modeling object oriented system. </li></ul></ul><ul><ul><li>Modeling interaction within class/interface. </li></ul></ul><ul><ul><li>Modeling in static view . </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Package,Class,Interface,Association. </li></ul></ul><ul><ul><li>Class stereo type (Entity,Boundary,Control : MVC) </li></ul></ul><ul><li>Phase of class diagram </li></ul><ul><ul><li>Conceptual model (Not for software design, just for analysis) </li></ul></ul><ul><ul><li>Logical model (None system dependent software structure,MVC) </li></ul></ul><ul><ul><li>Implementation model (+ Architecture,System dependent) </li></ul></ul>
    16. 16. 5. Class Diagram Class Person{ Company employer = null; : }// Class Person Class Company{ : }// Class Company Multiplicity Association Name Role Name
    17. 17. 6. Sequence Diagram <ul><li>Sequence diagram </li></ul><ul><ul><li>Dynamic diagram that describe interaction between object. </li></ul></ul><ul><ul><li>Focus on time sequence . </li></ul></ul><ul><ul><li>Define message between object </li></ul></ul><ul><ul><li>Frequently be used in describing use case scenario. </li></ul></ul><ul><ul><li>Can describe sequence,selection,iteration. </li></ul></ul><ul><ul><li>※ can be used in extract class method in logical class model. </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Actor,Object,Message </li></ul></ul><ul><ul><li>object life cycle line,operation running time </li></ul></ul>
    18. 18. 6. Sequence Diagram <ul><li>Example) </li></ul><ul><ul><li>1. GUI notify key stroke to OS </li></ul></ul><ul><ul><li>2. Os notify key stroke to CPU </li></ul></ul><ul><ul><li>3. OS update UI. </li></ul></ul><ul><ul><li>4. CPU request updating screen to video card. </li></ul></ul><ul><ul><li>5. Video Card send update screen to monitor. </li></ul></ul><ul><ul><li>6. Monitor display some character and feed back to use </li></ul></ul>:GUI :OS :CPU :Video Card :Monitor Keystroke feedback 1.notify 2.notify 3.updateRequest 4. updateScreen Object Life cycle Operation running time User
    19. 19. 6. Sequence Diagram :GUI :Os :CPU :Video Card :Monitor Keystroke feedback Init Process Exit ※ Sequence diagram with object state User
    20. 20. 7. Collaboration Diagram <ul><li>Collaboration Diagram </li></ul><ul><ul><li>Dynamic diagram that describe interaction between object. </li></ul></ul><ul><ul><li>Focus on collaboration structure and organization between object. </li></ul></ul><ul><ul><li>Modeling link within object. (can extract to association in class diagram) </li></ul></ul><ul><ul><li>Same as sequence diagram </li></ul></ul><ul><ul><li>※ Frequently used to define class method in “Implementation Class Diagram” </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Object,Link,Message,Data Token </li></ul></ul>
    21. 21. 7. Collaboration Diagram :GUI[Process] :OS :CPU :Video Card :Monitor Key stroke 1: notify(Key stroke) 4: notify(Key) 3: update(key stroke) 5: display(Key) 6: feedback() :GUI[Init] <<become>> State State transition User
    22. 22. 8. Component Diagram <ul><li>Component diagram </li></ul><ul><ul><li>Define dependency between physical element of software and other elements (class etc.) </li></ul></ul><ul><ul><li>Realize class in class diagram </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Package,Dependency,Interface,Component </li></ul></ul><ul><ul><li>Component </li></ul></ul><ul><ul><ul><li>Source component </li></ul></ul></ul><ul><ul><ul><li>Binary component (*.dll,*.class,beans) </li></ul></ul></ul><ul><ul><ul><li>Executable component (*.exe,server) </li></ul></ul></ul>
    23. 23. 8. Component Diagram
    24. 24. 9. Deployment Diagram <ul><li>Deployment Diagram </li></ul><ul><ul><li>Define ‘hardware deploy structure’ of each software element. </li></ul></ul><ul><li>Consists of </li></ul><ul><ul><li>Device,Process,Connection </li></ul></ul>
    25. 25. 9. Deployment Diagram Device
    26. 26. ※ UML diagram tracing relationship. Use case Diagram Activity/State Diagram Class Diagram Conceptual Model Logical Model Implementation Model Sequence Diagram Collaboration Diagram scenario class,attribute method UI Design Architecture DB Design Pattern Deployment Diagram Component Diagram ongoing Analyze system domain (Use Case View) Relationship between class,object (Logical view) System structure and arrangement (Implementation Diagram) Static Dynamic Use case Diagram use case realization realization deploy structure
    27. 27. Object Oriented Software Development Process <ul><li>RUP,XP,OSP,SSADM,Information Engineering Methodolgy </li></ul><ul><li>Key factor </li></ul><ul><ul><li>Incremental </li></ul></ul><ul><ul><li>Iterative </li></ul></ul><ul><ul><li>Device and conquer </li></ul></ul>
    28. 28. Books <ul><li>UML </li></ul><ul><ul><li>UML distilled </li></ul></ul><ul><ul><li>Beginning java object / Wrox </li></ul></ul><ul><ul><li>UML toolkit </li></ul></ul><ul><ul><li>Building web application with UML / Addison Wesley </li></ul></ul><ul><li>OSP </li></ul><ul><ul><li>Applying UML and patterns 2 nd Ed– Larman / Prentice Hall </li></ul></ul><ul><li>XP </li></ul><ul><ul><li>Extreme programming installed / Addison Wesley </li></ul></ul><ul><li>RUP </li></ul><ul><ul><li>Visual modeling with rational rose 2000 and uml / Addison Wesley </li></ul></ul><ul><ul><li>The rational unified process an introduction / Addison Wesley </li></ul></ul>
    1. Gostou de algum slide específico?

      Recortar slides é uma maneira fácil de colecionar informações para acessar mais tarde.

    ×