13

Domain tier design

Abstract

This chapter shows how to design interaction among objects (dynamic modeling) to implement system operation contracts using UML interaction diagrams (sequence). Initially, object responsibility and visibility are explained in order to show that objects may only communicate to each other to perform their responsibilities if they have a visibility line to follow. Next, the chapter discusses how to build dynamic models in which objects change messages in order to perform the actions that are necessary to meet the postconditions of a contract and how the preconditions and exceptions affect it. Design patterns for responsibility distribution among objects are presented to improve the design of object-oriented code with ...

Get Object-Oriented Analysis and Design for Information Systems, 2nd Edition 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.