UML CASE Tools Star UML Software Engineering 1

  • Slides: 14
Download presentation
UML CASE Tools - Star. UML - Software Engineering 1

UML CASE Tools - Star. UML - Software Engineering 1

Agenda for today Why need UML tools? Main UML tools Star. UML Case Study

Agenda for today Why need UML tools? Main UML tools Star. UML Case Study using Star. UML Software Engineering 2

Brief re-cap of UML Modeling language used in analysis, design and implementation phases Textual

Brief re-cap of UML Modeling language used in analysis, design and implementation phases Textual and graphical notation to document specification Main diagram types: Ø structural: class, component, deployment diagrams Ø behavioral: use case, sequence, statechart diagrams Software Engineering 3

Why need UML tools? Advantages of “e-design” over “paperdesign” Ø modifications made easier Ø

Why need UML tools? Advantages of “e-design” over “paperdesign” Ø modifications made easier Ø communication between designers easier Ø co-ordination and handling of large projects easier Software Engineering 4

Why need UML tools? Advantages of UML-tools over drawing-tools Ø uniform notations Ø certain

Why need UML tools? Advantages of UML-tools over drawing-tools Ø uniform notations Ø certain checks provided Ø UML-tools provide add-ons Software Engineering 5

Add-ons Round-trip engineering Ø code generation from diagram (forward engineering) Ø diagram generation from

Add-ons Round-trip engineering Ø code generation from diagram (forward engineering) Ø diagram generation from code (reverse engineering) Test generation Simulation Model validation and verification Level of sophistication Document generation Ø HTML, PDF etc. Software Engineering 6

UML tools Big competition among UML tool vendors Ø plg. uwaterloo. ca/~migod/uml. html Ø

UML tools Big competition among UML tool vendors Ø plg. uwaterloo. ca/~migod/uml. html Ø objectsbydesign. com/tools/umltools_by. Company. html Many free tools/editions with limited capabilities Compatibility ensured by XML dialect Ø XMI – XML Metadata Interchange Ø may contain diagram layout info (Diagram Interchange Standard) Software Engineering 7

Main UML tools Commercial Ø Rational Rose (IBM) Ø Together Designer (Borland) Ø Rhapsody

Main UML tools Commercial Ø Rational Rose (IBM) Ø Together Designer (Borland) Ø Rhapsody (I-Logix) Ø Poseidon (Gentleware) Free Ø Omondo Ø Visual Paradigm (Visual Paradigm) Open source Ø Argo. UML (Tigris) Ø Star. UML And many, many more… Software Engineering 8

Choosing a UML tool Platform support UML 2. 0 and XMI support Support of

Choosing a UML tool Platform support UML 2. 0 and XMI support Support of all diagram types Intuitive and clear GUI Add-ons Actively maintained Document generation and printing support Software Engineering 9

Star. UML Free and open source Supports Ø Windows only Ø UML 2. 0

Star. UML Free and open source Supports Ø Windows only Ø UML 2. 0 and XMI Ø all diagram types Ø diagram printing Ø code generation (C++, C#, Java) Ø EJB and Go. F pattern application Download: staruml. sourceforge. net Code: staruml. tigris. org Star. UML is the tool we suggest. You can use any other tool for the project. We accept diagrams in PDF or in Star. UML’s. uml format. Software Engineering 10

Tool demo via case study Digital sound-recorder (Dictaphone) Based on: Ivan Porres Paltor, Johan

Tool demo via case study Digital sound-recorder (Dictaphone) Based on: Ivan Porres Paltor, Johan Lilius: Digital Sound Recorder: A case study on designing embedded systems using the UML notation Software Engineering 11

Main features Capacity for 10 different messages, each max. of 2 minutes Messages can

Main features Capacity for 10 different messages, each max. of 2 minutes Messages can be recorded, played back and deleted Messages can be locked/unlocked to prevent unwanted deletion/overwriting LCD display Software Engineering 12

Problem Statement § § § The recorder stores up to 10 messages Each message

Problem Statement § § § The recorder stores up to 10 messages Each message is max. 2 minutes long The user can record message Recording of a message ends after 2 minutes or when the user stops recording Recording destroys the original message at chosen slot Sufficient level of battery is checked before recording message Message of a given slot can be replayed Sufficient level of battery is checked before replaying message Messages can be locked/unlocked Locked messages cannot be deleted or over-written by recording to the same slot User uses LCD display and buttons to interact with recorder Software Engineering 13

Your tasks (suggestion) 1. Develop use case diagram Write flow of event for one

Your tasks (suggestion) 1. Develop use case diagram Write flow of event for one or two interesting use cases 2. Develop sequence diagrams for selected use cases Remember: need not model all possible scenarios 3. Develop class diagram 4. Refine sequence diagrams from step 2 according to the classes you have identified in step 3 Remember: you might need to refine your class diagram 5. Draw state diagram for classes with interesting behavior Remember: typical candidates are control objects Software Engineering 14