Home > Store

Use Case Modeling

Register your product to gain access to bonus material or receive a coupon.

Use Case Modeling

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2003
  • Dimensions: 7-3/8" x 9-1/4"
  • Pages: 368
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-70913-9
  • ISBN-13: 978-0-201-70913-1

Use cases are a simple, straightforward -- yet very powerful -- way to express the functional requirements (or behaviors) of a system. Use cases have gained widespread acceptance because they make requirements less ambiguous by specifying exactly when and under what conditions certain behaviors occur. As a result, those who effective employ use cases to model their systems can better deliver projects on time, within budget, and with fewer defects. However, use case modeling is not that easy; it is a practice that comes with characteristics that can impact a project. In this new book, the authors allow you to benefit from their considerable experience making use cases work well in a number of different environments. With the advice, tips, and tricks presented herein, the reader will be further along the path to understanding and exploiting the power of use cases, and ultimately constructing better applications. In writing this book, the authors have worked closely with use case founder Ivar Jacobson, and the book is unique in that it presents a Rational Software Corporation-centric examination of this topic.

Sample Content

Online Sample Chapters

Establishing the Vision for Use Case Modeling

The Life Cycle of a Use Case

Downloadable Sample Chapter

Click below for Sample Chapter(s) related to this title:
Sample Chapter 6

Table of Contents

(NOTE: Each chapter concludes with a Summary.)

Foreword.


Preface: Why Bother with Use Cases?

What Are “Use Cases” All About?

Who Should Be Interested in Use Cases?

How to Read This Book.

I. GETTING STARTED WITH USE CASE-MODELING.

1. A Brief Introduction to Use-Case Modeling.

Actors and Use Cases.

Use-Case Diagrams.

The Relationship Between Use Cases and Requirements.

Types of Requirements.

Functional and Nonfunctional Requirements.

The Role of Use Cases.

Use Cases Place Software Requirements in Context.

To “Use Case” or not to “Use Case”.

When Are Use Cases Useful?

Use Cases Provide a Conceptual Model of the System.

Use Cases Describe How the System Is Used and What It Does for Its Stakeholders.

Does Everything the System Does Have to Be Described in a Use Case?

General Principles of Use-Case Modeling.

Use Cases Do Not Exist In Isolation.

Use Cases Are a Synthetic Rather Than an Analytic Technique.

Rules of Thumb.

2. Fundamentals of Use Case Modeling.

The Use-Case Model.

The Basic Building Blocks of a Use-Case Model.

Actors.

Use Cases.

Connecting Actors and Use cases.

Use-Case Diagrams.

Brief Descriptions.

Use-Case Descriptions.

Supporting Artifacts.

The Glossary and/or the Domain Model.

Supplementary Specifications.

Declarative and Special Requirements.

3. Establishing the Vision.

Introducing Stakeholders and Users.

What Are Stakeholders?

The Role of Stakeholders and Stakeholder Representatives.

Users: A Very Important Class of Stakeholder.

Stakeholders and Use-Case Modeling.

Involving Stakeholders and Users In Your Project.

Step 1: Identify Stakeholder and User Types.

Step 2: Identify and Recruit the Stakeholder Representatives.

Step 3: Involve the Stakeholder Represe

Preface

What are Use Cases All About?

In a world where it seems we already have too much to do, and too many things to think about, it seems the last thing we need is something new that we have to learn. As Eric Sevareid observed, the chief cause of problems is solutions.

But use cases do solve a problem with requirements: with strict declarative requirements it's hard to describe steps and sequences of events. To see why, let's consider a simple example:

Example -- some requirements that must be satisfied by an Automated Teller system.

  • The system shall allow customers to withdraw cash from their accounts.
  • The system shall ensure that the customer's account is never overdrawn.
  • If the customer attempts to overdraw their account, the system will allow them to overdraw their account, up to a specified amount, for a transaction fee.
  • If the customer is using an Automated Teller Machine (ATM) that is owned by a financial institution other than the one at which they have their accounts, an additional fee will be charged to their account.

Simple enough, you say. Or is it?

In what order should these things be done? Does it matter? If the ATM is not one that is owned by the customer's financial institution, should we charge the ATM usage fee before or after we check for overdraft? If the customer's account balance is less than the ATM usage fee, charging the ATM usage fee before we check for overdraft will automatically result in an overdraft charge being applied, even if the customer decides to cancel the transaction. Is this the right behavior? With only declarative requirements, which is all that many projects have, it's impossible to say.

Use cases, stated simply, allow us to describe the sequences of events that, taken together, lead to a system doing something useful. As simple as this sounds, this is important. When confronted only with a pile of requirements, it's often impossible to make sense of what the authors of the requirements really wanted the system to do. In the example above, use cases reduce the ambiguity of the requirements by specifying exactly when and under what conditions certain behavior occurs; as such, we can regard the sequence of the behaviors as a requirement. Use cases are particularly well-suited to capturing these kind of requirements. Although this may sound simple, the fact is that conventional requirement capture approaches, with their emphasis on declarative requirements and shall statements, completely fail to capture the dynamics of the system's behavior. Use cases give us a simple yet powerful way to express the behavior of the system in way that all stakeholders can easily understand.

But, like anything, use cases come with their own problems, and as useful as they are, they can be misapplied. The result is something that is as bad, if not worse, than the original problem. Therein lies the central theme of this book -- how to utilize use cases effectively without creating a greater problem than the one you started with.

Who should be interested in Use Cases?

The short answer to this question is just about everyone, or at least everyone involved in some aspect of delivering a system that satisfies the needs of the customer. To be more specific about who should be interested in use cases, the following roles can benefit from the use case technique of describing system behavior:

  • Customers, who need to be sure that the system that is getting built is the one that they want
  • Managers, who need to have an overall understanding of what the system will do in order to effectively plan and monitor the project
  • Analysts, who need to describe and document what the system is going to do
  • Developers, who need to understand what the system needs to do in order to develop it
  • Testers, who need to know what the system is supposed to do so that they can verify that it does it
  • Technical Writers, who need to know what the system is supposed to so that they can describe it
  • User Experience Designers, who need to understand the users' goals and how they will use the system to achieve these goals.
  • V and anyone else who wants to better understand what needs to be built before it is actually constructed.

How to read this book

This book is fundamentally about creating use-case models, and more importantly about writing the detailed descriptions of use cases. To remain focused on this task, we have intentionally left out the parts of the project lifecycle that use the use cases but are not directly involved in writing them. These areas include user-interface design, analysis, design, technical writing, testing and project management. Other authors have covered a number of these areas adequately, and we felt that you, the reader, were best served if we focused narrowly on the use cases themselves. We hope you will agree.

This book is intended to be a ready-reference for the practitioner, the person who is actually doing the work and grappling with the unique problems of working with Use Cases. It can certainly be read cover-to-cover, but the real intent behind the book is to provide you with something that can continue to add value after the first reading, providing you with a mentor at your fingertips. The topics presented in the book have arisen from working with countless project teams who grappled with the same issues facing you.

The book is divided into two parts. In Part I, Getting Started with Use Case Modeling, we introduce the basics concepts of use-case modeling that you will need to understand in order to be effective using use cases. We conclude Part I with a description of an excellent way to get started with use cases: with a workshop.

The first chapter, A Brief Introduction to Use Cases, provides practical background for people who are unfamiliar with use cases, or for people who have read other books and articles and still find themselves wrestling with the basic ideas. The purpose of the chapter is to provide a brief overview of the use case approach without getting into a lot of formal details.

The second chapter, Fundamentals of Use Case Modeling, presents the foundations underlying the use case modeling technique. The concepts presented here will provide the basis for the subsequent chapters in the book.

The third chapter, Establishing the Vision, provides us with the essential tools for determining the business problem we are solving, for identifying the stakeholders in the solution, and for deciding what the system should do for those stakeholders to solve the business problem. This information is essential if we are to define the right solution when we develop our use case model.

The fourth chapter, Finding Actors and Use Cases, describes the process and subtleties of identifying the key elements of the use case model. The purpose of this content is to help you through the sometimes-confusing task of getting started by providing a sound understanding of the basic concepts of actors and use cases.

The fifth chapter, Getting Started with a Use-Case Modeling Workshop, describes the practicalities of getting started using use cases, including how to run a use-case workshop and how to deal with the practical details of starting to work with use cases.

In Part II, Writing and Reviewing Use Case Descriptions, we explore the finer details of working with use cases, including the anatomy of a use case, how to write use-case descriptions (instead of the simple but incomplete descriptions presented in Part I), and what it means to work with use cases in practice. In these chapters, we explore in-depth how to write detailed use-case descriptions.

The sixth chapter, The Lifecycle of a Use Case, describes the transitions that a use case undergoes as it evolves from concept to complete description. This chapter establishes context for the remaining chapters, as well as placing the content of Part I into a larger context.

The seventh chapter, The Structure and Contents of a Use Case, describes the various constituent parts of a use case -- the basic flow, preconditions, post-conditions, and the alternate flows, as well as related topics.

The eighth chapter, Writing Use Case Descriptions - An Overview, describes the objectives and challenges related to writing detailed descriptions of use cases, and presents strategies for successfully mastering this challenging task.

The ninth chapter, Writing Use Case Descriptions -- Revisited, discusses the mechanics of how to go about writing use-case descriptions, how to handle details, and how to structure the descriptions for readability. This is done using an evolving example in which a variety of techniques are progressively and systematically applied to improve the quality of the use-case description.

The tenth chapter, Here There Be Dragons, describes the problems that most teams encounter when using relationships between use cases (specifically the include, extend and generalization relationships) and relationships between actors.

The eleventh chapter, Reviewing Use Cases, describes how to organize and conduct reviews of the use case model, including a summary of areas where particular focus is needed.

The final chapter, chapter twelve -- Wrapping Up, touches on a number of topics related to how use cases are used in the larger context of the project, bringing our journey into the world of use cases to a close. In doing so, we provide the reader with a number of references to sources to consult for further information about how use cases are used in other disciplines.

Acknowledgements

We have had the pleasure, over the years, to work with many colleagues and customers who have helped shape the views that are presented here. A full enumeration of all of these people would be impossible, but we find ourselves especially indebted to a number of our colleagues for contributing to our views on use cases. We are in great debt to Ivar Jacobson, who originated the concepts of use case modeling and initially defined their role in the modern software development process, for his support and encouragement on this project. We are also indebted to our colleague Dean Leffingwell for his work defining the role of use cases and traditional requirements management approaches. We would also like to thank Bryon Baker, Chris Littlejohns, Anthony Kesterton, Gary Evans, Laurent Mondamert, Peter Eeles, Brian Kerr and Susan August for their insightful suggestions at various points in the long evolution of this book.

Special thanks go to Douglas Bush and Ida Audeh for their assistance in helping us to write clearly and concisely. We would also like to thank the many technical consultants at Rational whose experiences and questions have helped to shape this book. Finally, we would like to thank the customers with whom we and these consultants have worked, since their experiences and questions have ultimately made us realize that this book has been sorely needed. To all these people goes a great share of the credit for this book; any flaws or shortcomings are exclusively our own.

Kurt Bittner and Ian Spence
April, 2002



0201709139P06102002

Foreword

Use cases have come a long way since I first proposed them in 1986. Their value and power were clearly revealed by Object-Oriented programming. Use cases both contributed to and benefited from the development of the Object- Oriented paradigm. Today, knowledge of use cases is critical to one's understanding and application of UML and other modern software processes, such as the Rational Unified Process (RUP).

When used effectively, use cases have proven particularly valuable as part of the requirements activities of the software process. They have vastly improved communication between development teams and stakeholders and have made the determination of requirements far easier and more precise. Use cases are unique in their ability to help teams understand the value the system must provide for its stakeholders. Because use cases describe how users use the system and what the system does for those users, they provide a unique way to build consensus about what the system must do. Building consensus is essential to a project's success: If the stakeholders cannot agree on the value the system must deliver, it is unlikely that the project can be successful.

Because use cases help create this understanding, they naturally provide an excellent principle around which to structure project activities. Use cases play an important role for analysts, who work with the requirements of the system; developers, who apply use cases to design and develop the system; testers, who verify that the system delivers the value demanded by the stakeholders; technical writers, who document how the system is used; and user-experience professionals, who help to make the system easy to use. All these project team members must understand use cases in order to develop better solutions.

To date, there has been something missing from the literature of use-case modeling: a description of the practical, day-to-day details of identifying and describing use cases. This book provides those details, defining the use-case model and fleshing out use-case descriptions. It's a perfect extension and complement to my earlier works, finishing the story of how the use cases are identified and how they evolve.

Use Case Modeling builds on the basic concepts by leveraging the practical experience that Kurt and Ian have gained through their many years of work in various industries--working with development teams either as consultants or as team members themselves. They have nicely distilled that experience into this very practical and insightful work. For people new to the field, this book provides an excellent tutorial. For use-case veterans, it provides an excellent reference that can be called upon on a daily basis.

This is the very best book on use cases ever written. Read it to understand use-case ideas and to apply those ideas with common sense based on the kind of system you are building and the maturity of your team members.

--Ivar Jacobson
July 2002

Index

Click below to download the Index file related to this title:
Index

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020