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

Sample

In the example in this chapter we took a pretty straightforward approach to providing a Product Configuration System by applying abstraction and then utilizing a few simple patterns. Note that we also took advantage of several patterns provided within the Java language itself. The Enumerator used throughout this example is a language-provided Iterator (which provides a way to access all the elements of a composite structure). The final solution, though, is far from perfect, but it provides a good first pass in which to begin the system.

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