1 / 19

Introduction to Rational Unified Process

Introduction to Rational Unified Process. Chapter 2 Text. Objectives: Rational Unified Process. Describe the Unified Modeling Language (UML) Define what a software development process is Describe the Rational Unified Process

alvinharris
Download Presentation

Introduction to Rational Unified Process

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. Introduction to Rational Unified Process Chapter 2 Text

  2. Objectives: Rational Unified Process • Describe the Unified Modeling Language (UML) • Define what a software development process is • Describe the Rational Unified Process • Explain the four phases of the Rational Unified Process and their associated milestones • Define iterations and their relation to phases • Explain the relations between: • Models and workflows and disciplines • Phases, iterations, and disciplines • Define artifact, worker, andactivity • State the importance of automated tool support

  3. The RUP • Software Development is a process of developing a software system from requirements. • A software process provides a disciplined approach to assigning tasks and responsibilities to ensure the production of high-quality software within a predictable schedule / budget. • The RUP is a software process that incorporates the six best practices we’ve discussed. • The RUP formalizes these best practices into a written set of procedures/practices that are complete and self-consistent.

  4. In Building a System, a Language Is Not Enough We need a modeling language. We will use the Unified Modeling Language, UML) Provides a standard for artifacts of development (semantic models, syntactic notation, and diagrams: the things that must be controlled and exchanged. We need a Process of development! We will follow the Rational Unified Process (RUP) It is ALL ABOUT PROCESS! While UML has a very high value as a common modeling language, successful software development requires a very robust development process! Team-Based Development Modeling Language Unified Process

  5. What Is the UML? • The Unified Modeling Language (UML) is a language for • Specifying • Visualizing • Constructing • Documenting the artifacts of a software-intensive system UML is now the industry standard modeling language. Has been under development since 1990 The Use Case View (first part) Is used to model requirements that can later be designed and implemented using either traditional development approach or an object-oriented approach. Important to note that UML does not dictate an OO approach – but greatly supports it!

  6. UML History We’re using UML 2.0, I believe….. UML has been adopted by the OMG in Nov 1997. Numerous books/ articles/ etc. are available.

  7. State Diagrams State Diagrams Class Diagrams Use-Case Diagrams Use-Case Diagrams State Diagrams Use-Case Diagrams State Diagrams Use-Case Diagrams Object Diagrams Use-Case Diagrams Activity Diagrams Scenario Diagrams State Diagrams Scenario Diagrams State Diagrams State Diagrams Sequence Diagrams Models Component Diagrams Scenario Diagrams Component Diagrams Scenario Diagrams Component Diagrams Deployment Diagrams Collaboration Diagrams The UML Provides Standardized Diagrams In building visual models, many different diagrams are needed to represent different views of the system. UML has a very rich notation. Use Case Diagrams – illustrate user interactions with the system; Activity Diagrams illustrate the flow of events in a Use Case. Class diagrams represent logical structure, while Interaction Diagrams illustrate behavior. Other diagrams are used to illustrate physical structure of software from different views…

  8. Maintain Professor Information Registrar Student Maintain Student Information Register for Courses Course Catalog Close Registration Billing System Select Courses to Teach Professor A Sample UML Diagram: Use-Case Diagram Use Case diagrams are used to show the existence of Use Cases and their relationships both to each other and to Actors. An Actor is something / someone external to the system that has an interface with the system, such as users. Use Cases model dialogue between actors and system. A Use Case is initiated by an Actor to invoke certain functionality – like register for courses. Arrow indicates direction of initiation of the interaction. A Use Case is a complete, meaningful flow of events! A University Course Registration System

  9. <<boundary>> CourseCatalogSystem // get course offerings() A Sample UML Diagram: Classes A University Course Registration System <<boundary>> <<boundary>> MaintainScheduleForm MainForm 0..1 1 1 // select maintain schedule() + // open() + // select 4 primary and 2 alternate offerings() 1 1 <<control>> 1 0..* RegistrationController // add courses to schedule() // get course offerings () 0..1 Classes – different kinds Note: multiplicity; association Be sure to understand notation….. multiplicity; aggregation; stereotypes… 1 <<entity>> Schedule // create with offerings()

  10. Use-Case Diagram Class Diagram State Diagram DocumentList Repository Use-Case 1 Actor A Actor B Use-Case 2 FileManager <<entity>> Deployment Diagram Customer name Use-Case 3 addr Class receive() Document withdraw() fetch() send() GraphicFile Package Diagram Domain Expert File FileList User Interface Definition Forward Engineering(Code Generation) and Reverse Engineering Collaboration Diagram Component Diagram Source Code edit, compile, debug, link Sequence Diagram Executable System UML Diagrams Are Key Artifacts

  11. New or changed requirements New or changed system SoftwareEngineering Process What Is a Process? A process defines Who is doing What, When and How to reach a certain goal. In software engineering the goal is to build a software product or to enhance an existing one We will use the RUP - a generic process that uses UML as a modeling language. The RUP can be used for any kind of software system.

  12. An Effective Process ... • Provides guidelines for efficient development of quality software • Provides suggested flows of activities and assignment of roles to artifacts • Reduces risk and increases predictability • Through iteration planning, risks aggressively attacked up front • Captures and presents best practices – very detailed. • Use-case driven, architecture-centric, iterative development process! • Learn from other’s experiences • Mentor on your desktop – tool mentors, guidelines, • Extension of training material • Promotes common vision and culture • Contains disciplines – addressing all stakeholder concerns • Provides roadmap for applying tools – it is NOT just a theory • Suggests activity sequences; configurable! Large and small projects. • Delivers information on-line, at your finger tips • Many ‘mentors’ on line; tutorials, etc.

  13. Develop Iteratively Rational Unified Process Delivers Best Practices Rational Unified Process describes how to effectively implement the six best practices for software development Use ComponentArchitectures Verify Quality Manage Requirements Model Visually Control Changes

  14. Customer Withdraw Money Check Balance Rational Unified Process Is Use-Case Driven An actor is someone or something outside the system that interacts with the system An actor receives VALUE from the system. A MUST. Example: ATM, login, withdraw money…. A Use-Case is a sequence of actions a system performs that yields an observable result of value to a particular actor Models functionality from the user point of view!! Use-Cases for a Cash Machine A collective set of Use Cases is said to constitute the Use Case Model and represent all the possible ways of using the system. (end-user view; functionality!!!) Use Case is a model of system’s intended functions Use Case can serve as a contract between customer and developer.

  15. Use-Cases Include a Flow of Events Flow of events for the Withdraw Money Use-Case 1. The Use-Case begins when the customer inserts a cash card. The system reads and validates information on the card. 2. The system prompts for the PIN. The system validates the PIN. 3. The system asks which operation the customer wishes to perform. The customer selects “Cash withdrawal.” 4. The system requests the amount. The customer enters the amount. 5. The system requests the account type. The customer selects checking or savings. 6. The system communicates with the ATM network . . . Note the Inter- change This text is typical in a Use Case narrative May/may not be ‘numbered’

  16. Benefits of a Use-Case Driven Process • Use-Cases are concise, simple, and understandable by a wide range of stakeholders • End users, developers and testers, others all understand functional requirements of the system. • Use-Cases drive numerous activities in the process: • Creation and validation of the design model • Definition of test cases and procedures of the test model • Planning of iterations • Creation of user documentation • System deployment • Use-Cases help synchronize the content of different models • Note: Use Case descriptions use the language / jargon of the end user!

  17. Rational Unified Process Is Architecture-Centric • Architecture is a primary focus of the early iterations • Building, validating, and baselining the architecture constitute the primary objective of elaboration – especially the first iteration… • The Architectural Prototype validates the architecture and serves as the baseline and drives the rest of development • The Software Architecture Document is the primary artifact that describes the architecture chosen • Other artifacts derive from architecture: • Design guidelines including use of patterns and idioms • Generally a document available in your company that contains design experiences and things ‘that have worked’ that may apply ‘here.’ • Much more later on architecture… Essential!

  18. End-user Functionality System Integrators Performance Scalability, Concurrency, Throughput, Parallelism… Representing Architecture: The 4+1 View Model Logical View Functional Requirements – Logical View Deals with design, packages, sub- systems, and classes, layers, … Implementation View – deals mostly with programming and organization of the static software modules & unit test LogicalView Implementation View Functional requirements Analysts/Designers Programmers Software management Structure Use-Case View Process View Deployment View System Engineering System topology Delivery, installation Communication A View is a complete description (an abstraction) of a system from a particular view- point or perspective – covering particular concerns and omitting others not relevant to this perspective. Different ‘views’ from different ‘stakeholders; different concerns. A Model is a complete representation.

  19. Benefits of an Architecture-Centric Process • Lets you gain and retain intellectual control over a project, to manage its complexity, and to maintain system integrity • Provides an effective basis for large-scale reuse • Provides a basis for project management – allocation to teams… • Facilitates component-based development (from separate architectural components – interchange (swap) well-defined components. • Component fulfill a clear function in the context of a well-defined architecture • A component conforms to and provides the physical realization of a set of interfaces • Components exist relative to a given architecture • Architecture is not just the sum of parts • Consists of small, independent tactical decisions that provides a structure on how to grow the system without having the complexity blow your minds. • Architecture gives us structure for this and rules to guide us.

More Related