Managing Use Case Complexity

A use case should represent a discrete benefit for the actor. A well-defined use case should be expressed succinctly, and the action taking place should happen within a single session for the actor. If that is not the case and a use case involves excessive complexity, then it may require refactoring the use case into one or more separate use cases. Fortunately, UML provides diagrammatic syntax to help manage this complexity.

Use cases can include other use cases, or a use case may extend another use case; these techniques allow use cases to be designed in such a way that complexity of individual use cases is reduced and the overall model retains simplicity. An include operation indicates that the use case absorbs ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.