5.4. Case Study: Bookstore

Polonius: What do you read, my lord?

Hamlet: Words, words, words.

—William Shakespeare, Hamlet, 2.2.192

Let's take a moment to look at a case study—a brief description of a problem domain that we can refer to consistently throughout the chapter and the rest of the book. This will help us understand object-oriented analysis so that we can design stable, sensible, extensible systems. It also presents the system that we will use to create many examples.

The fictional Words, Words, Words bookstore (WWWBooks) is expanding. It has hired you to create a processing system that will replace its current paper-based system. The store's buyer orders books from publishers. The books come in, and need to be added to inventory and ...

Get Java™ for ColdFusion® Developers 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.