O'Reilly logo

Joy of Patterns: Using Patterns for Enterprise Development, The by Brandon Goldfedder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Problem Definition

Consider a sales system that supports a sales representative selling a certain kind of computer to end users.

Let's assume the base pieces are defined as in Table 4.1.

The sales person will sell a configuration for a computer such as that in Table 4.2.

Table 4.1. Computer Components
Part Choices
Motherboard + Processor 486, Pentium, PentiumII, Xeon, Pentium III
Case Desktop, Minitower, Fulltower
Drives 4,6,10,13G
Memory 32M, 64M, 128M, 256M, 512M
Monitor 15", 17", 19", 21"
Soundcard Regular, 3D
Video Card Standard, Pro, 3D
Modem None, 28K, 56K, ISDN
Table 4.2. A Basic Computer System
Galaxy Pro Computer System
Motherboard + Processor PentiumII
Case Minitower
Drives 10G
Memory 64M
Monitor 17"
Soundcard Regular
Video Card Pro ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required