190 likes | 641 Vues
Rational Rose 2000. Presented By: Rachel Espinoza. Rational Rose. What is Rational Rose? Visual Modeling Tool What is Visual Modeling? Acts as a communication tool Captures business objects and logic Analyzes and designs your application
E N D
Rational Rose 2000 Presented By: Rachel Espinoza Rational Rose
Rational Rose • What is Rational Rose? • Visual Modeling Tool • What is Visual Modeling? • Acts as a communication tool • Captures business objects and logic • Analyzes and designs your application • Models your system independent of implementation languages • When is Visual Modeling used? • Requirements Analysis & Later to Assist Designers Rational Rose
What is the Unified Modeling Language? • The UML is the standard language for visualizing, specifying, constructing, and documenting the artifacts of a software-intensive system. • The UML combines the best from • Data modeling • Business modeling • Object modeling • Component modeling Rational Rose
UML Concepts • The UML may be used to visually model • The interaction of your application with the outside world using use case diagrams • The behavior of your application (object interactions) using sequence, collaboration and state diagrams • The structure of your system by examining class diagrams. Rational Rose
Use Case View • From end-users'perspective • Concerned with • Understandability • Communication • Usability • Use Case Model:It is created in the Use Case view and captures system's intended functions and interactions with environment • use case diagrams • use case flow of events • activity diagrams • Requirements Specification:Use Case Model can serve as a contract between customer and developer instead of the traditional text requirement specification Rational Rose
Professor Billing System Student Registrar Use Case Diagram • A use-case diagram is an illustration that shows the relationships among use cases and actors and among related use cases. actor Request Course Roster Register for Courses Maintain Course Information Interaction Rational Rose
An activity diagram can be used to capture the activities in a use case and shows the flow of events within the system. Create curriculum Select courses to teach Create catalog Mail catalog Place catalog in bookstore to students Open registration [ Registration time period expired ] Close registration Activity Diagram Rational Rose
Logical View • From analyst/designer perspective • Concerned with functional requirements of the systems • Includes: • class diagrams • interaction diagrams Rational Rose
ScheduleAlgorithm RegistrationForm RegistrationManager Course RegistrationUser Student name numberCredits name open() addStudent(StudentInfo) Professor CourseOffering tenureStatus location open() addStudent(Student) Class Diagrams • Show the structure of your software. • Are modeled in the Logical Viewunder the appropriate use-case realization. 0..* 1 addStudent(Course, Student) 1 0..* major 1 3..10 1..* 4 1 0..4 Rational Rose
Interaction Diagrams • An interaction diagram models the dynamic aspects of the system by showing relationships among objects and the messages they may dispatch. • There are two types of interaction diagrams. • Sequence • Collaboration • They are created based on the use cases included in the use-case model and the use-case flow of events. Rational Rose
Section Sequence Diagram • A sequence diagramshows step by step what must happen to accomplish a piece of functionality provided by the system. registration Course Database registration : Student manager form 1: fill in form 3: add(Joe, Math 101, section 1) 4: check available (math 101, section) 2: submit(form) 5: is Available (math 101, section) 6: return(TRUE) 7: return(TRUE) 8: addToList(math101, section,JoeSID) 8: updateList(JoeSID,section) 11: return(Confirm Message) 10: return(ADDED) 9: decrement Seats() 11: return(ADDED) Rational Rose
course form : 1: set course info CourseForm 2: process 3: add course : Registrar theManager : aCourse : CurriculumManager Course 4: new course Collaboration Diagram • A collaboration diagram displays object interactions organized around objects and their links to one another. Rational Rose
Add student[ count < 10 ] Add Student / Set count = 0 Initialization Open entry: Register student do: Initialize course exit: Increment count Cancel Cancel [ count = 10 ] Canceled do: Notify registered students Closed Cancel do: Finalize course Statechart Diagram • A statechart diagram shows the lifecycle of a single class, the events that cause a transition from one state to another, and the actions that result from a state change Rational Rose
Standard menu Standard toolbar Diagram toolbar(unique to each type of diagram) Browser window (used to organize and navigate) Diagram window Status bar Documentation window Rational Rose Environment Can be hidden, docked or floating Rational Rose
Specification Window • Textual representation of a model element that permits viewing and manipulating the element's model properties • Open by right clicking on a View in the Browser Window Rational Rose
Rational Rose Trial Version • website: http://www-306.ibm.com/software/rational/ • got to Trials and Betas • in Search for free trials and betas enter Rational Rose • select TRIAL: Rational Rose Win Evaluation (Rational Rose Evaluation Assembly V2003.06.13 for Windows 2000, NT, XP) Platform: Windows 2000, Windows NT, Windows XP • must register to get trial version • application size is LARGE may take time to download Rational Rose
Microsoft Visio 2003 • website http://office.microsoft.com/en-us/default.aspx • in search field type Visio trial version • select Visio 2003 Trial link • follow download instructions Rational Rose