ch08lect2_UD - Using UML, Patterns, and Java...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 8, Object Design Introduction to Design Patterns
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 2 During Object Modeling we do many transformations and changes to the object model It is important to make sure the object design model stays simple! Design patterns helps keep system models simple.
Background image of page 2
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 3 Finding Objects The hardest problems in object-oriented system development are: Identifying objects Decomposing the system into objects Requirements Analysis focuses on application domain: Object identification System Design addresses both, application and implementation domain: Subsystem Identification Object Design focuses on implementation domain: Additional solution objects
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 4 Techniques for Finding Objects Requirements Analysis Start with Use Cases. Identify participating objects Textual analysis of flow of events (find nouns, verbs, . ..) Extract application domain objects by interviewing client (application domain knowledge) Find objects by using general knowledge Extract objects from Use Case scenarios (dynamic model) System Design Subsystem decomposition Try to identify layers and partitions Object Design Find additional objects by applying implementation domain knowledge
Background image of page 4
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 5 Another Source for Finding Objects : Design Patterns What are Design Patterns? The recurring aspects of designs are called design patterns [Gamma et al 1995]. A pattern is the outline of a reusable solution to a general problem encountered in a particular context. It describes the core of the solution to that problem, in such a way that you can use the this solution a million times over, without ever doing it the same twice. Many of them have been systematically documented for all software developers to use. Studying patterns is an effective way to learn from the experience of others
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 6 What is common between these definitions? Definition Software System A software system consists of subsystems which are either other subsystems or collection of classes Definition Software Lifecycle: The software lifecycle consists of a set of development activities which are either other actitivies or collection of tasks
Background image of page 6
Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 7 Introducing the Composite Pattern Models tree structures that represent part-whole hierarchies with arbitrary depth and width. The Composite Pattern lets client treat individual
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 26

ch08lect2_UD - Using UML, Patterns, and Java...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online