Use Case Diagrams

A Use Case Diagram allows you to model the interactions between a user and a system. A Use Case consists of one or more scenarios, where a scenario is a sequence of steps taken when a user interacts with a system. The boundaries that define Use Cases and scenarios often blur, so you might say that a certain group of interactions form a single Use Case, but another person might group those interactions into more than one Use Case. Either approach is correct, because it is up to the modeller to use his or her discretion when deciding what forms a Use Case.

The notation for Use Cases is quite straightforward, as Figure A.1 shows.

Figure A.1. Use Case notation.

The actor is an individual or other system that interacts with the system. ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.