Next Contents Preface Acknowledgments Introduction Chapter 1. Appreciate the significance of the object. Design Service-Oriented Objects that use their state to decide how to behave. Understand the relationship between mutable service-oriented objects and state machines. Use Flyweights for pluggable nuggets of behavior.
Design objects that can defend themselves.
Use composition enlist the help of other objects. Use class extension to model permanent IS-A relationships. Understand the difference between inheritance and composition. Appreciate the significance of the interface . Use abstract classes to provide default behavior or establish a small family.