Many modern projects use object-oriented design and the Unified Modeling Language. The Unified Process is a process framework made for such projects.
Overview
The Unified Process (UP) is an iterative and incremental process that is use-case driven, architecture centric and risk focused. Use cases describe what users want, the architecture gives the structure of the system, and the highest risks are handled early. Its commercial form is the Rational Unified Process (RUP). The software is built in a series of short iterations, each producing a working increment, and documentation is produced as needed.
Definition: Unified Process. An iterative, incremental, use-case driven and architecture-centric software process framework that is described using the UML.
Phases of the Unified Process
There are five phases. Inception defines the scope, the main use cases and the business case. Elaboration analyses the problem, builds the architecture and reduces major risks. Construction develops the remaining components and features. Transition moves the software to users with beta testing, training and corrections. Production keeps the software running with support and maintenance. Each phase may contain several iterations.
Workflows
Within each iteration, the work follows the workflows of requirements, analysis, design, implementation and testing. The share of effort spent on each workflow changes with the phase. Requirements work is heavy during inception and elaboration, and implementation work peaks in construction.
The Unified Process uses the Unified Modeling Language to describe its work. Use case diagrams capture the requirements, class diagrams give the structure, and sequence diagrams show how objects interact. These models are produced gradually and are refined in every iteration, so the design grows together with the code. The process can be tailored, which means that a small team uses a light version with few documents and a large team uses a fuller version. This flexibility is one of the reasons that the Rational Unified Process was widely adopted in industry.
Table 1.4: Phases of the Unified Process
| Phase | Aim | Outcome |
|---|---|---|
| Inception | Define scope and business case | Vision and main use cases |
| Elaboration | Build architecture and handle risks | Architecture baseline |
| Construction | Build the system | Working software |
| Transition | Deliver to users | Released product |
| Production | Support the software | Maintained system |
Example 1.4: Assigning activities to phases
Problem: Place the following in the correct phase: user training, listing the main use cases, coding the remaining modules, and designing the architecture.
Solution:
- Listing the main use cases defines scope, which is inception.
- Designing the architecture is elaboration.
- Coding the remaining modules is construction, and user training is transition.
Result: Inception, elaboration, construction and transition, in the order listed.
Common mistakes
- Treating the phases as separate waterfall steps. Each phase has several iterations.
- Forgetting that the architecture is built early, in elaboration.
- Confusing the phases of the Unified Process with its workflows.
Key takeaways
- UP is use-case driven, architecture centric and iterative.
- The phases are inception, elaboration, construction, transition and production.
- Major risks are handled early.
- Workflows such as design and testing occur in every iteration.
Practice questions
- Name the phases of the Unified Process.
- What is built in the elaboration phase?
- Why is UP called use-case driven?
Answers to the practice questions
- Inception, elaboration, construction, transition and production.
- The architecture of the system, while major risks are reduced.
- Because use cases guide the requirements, design and testing.
Sources
- Official BCA syllabus Software Engineering, course code 26BCA403DS03, Unit I
