| | Copyright |
| | Developer's Library |
| | About the Author |
| | Acknowledgments |
| | We Want to Hear from You! |
| | Introduction |
| | | This Book's Scope |
| | | What's New in the Second Edition |
| | | The Intended Audience |
| | | This Book's Scope |
| | | This Book's Conventions |
| | | Source Code Used in this Book |
| | Chapter 1. Introduction to Object-Oriented Concepts |
| | | Procedural Versus OO Programming |
| | | Moving from Procedural to Object-Oriented Development |
| | | What Exactly Is an Object? |
| | | What Exactly Is a Class? |
| | | Using UML to Model a Class Diagram |
| | | Encapsulation |
| | | Inheritance |
| | | Polymorphism |
| | | Composition |
| | | Conclusion |
| | Chapter 2. How to Think in Terms of Objects |
| | | Knowing the Difference Between the Interface and the Implementation |
| | | Using Abstract Thinking when Designing Interfaces |
| | | Giving the User the Minimal Interface Possible |
| | | Conclusion |
| | | References |
| | Chapter 3. Advanced Object-Oriented Concepts |
| | | Constructors |
| | | Error Handling |
| | | The Concept of Scope |
| | | Operator Overloading |
| | | Multiple Inheritance |
| | | Object Operations |
| | | Conclusion |
| | | References |
| | Chapter 4. The Anatomy of a Class |
| | | The Name of the Class |
| | | Comments |
| | | Attributes |
| | | Constructors |
| | | Accessors |
| | | Public Interface Methods |
| | | Private Implementation Methods |
| | | Conclusion |
| | | References |
| | Chapter 5. Class Design Guidelines |
| | | Identifying the Public Interfaces |
| | | Designing Robust Constructors (and Perhaps Destructors) |
| | | Designing Error Handling into a Class |
| | | Designing with Reuse in Mind |
| | | Designing with Extensibility in Mind |
| | | Designing with Maintainability in Mind |
| | | Using Object Persistence |
| | | Conclusion |
| | | References |
| | Chapter 6. Designing with Objects |
| | | Design Guidelines |
| | | Case Study: A Blackjack Example |
| | | Conclusion |
| | | References |
| | Chapter 7. Mastering Inheritance and Composition |
| | | Inheritance |
| | | Composition |
| | | Why Encapsulation Is Fundamental to OO |
| | | Conclusion |
| | | References |
| | Chapter 8. Frameworks and Reuse: Designing with Interfaces and Abstract Classes |
| | | Code: To Reuse or Not to Reuse? |
| | | What Is a Framework? |
| | | What Is a Contract? |
| | | An E-Business Example |
| | | Conclusion |
| | | References |
| | Chapter 9. Building Objects |
| | | Composition Relationships |
| | | Building in Phases |
| | | Types of Composition |
| | | Avoiding Dependencies |
| | | Cardinality |
| | | Tying It All Together: An Example |
| | | Conclusion |
| | | References |
| | Chapter 10. Creating Object Models with UML |
| | | What Is UML? |
| | | The Structure of a Class Diagram |
| | | Attributes and Methods |
| | | Access Designations |
| | | Inheritance |
| | | Interfaces |
| | | Composition |
| | | Cardinality |
| | | Conclusion |
| | | References |
| | Chapter 11. Persistent Objects: Serialization and Relational Databases |
| | | Persistent Object Basics |
| | | Saving the Object to a Flat File |
| | | Writing to a Relational Database |
| | | Loading the Driver |
| | | Conclusion |
| | | References |
| | Chapter 12. Objects and XML: Portable Data |
| | | Portable Data |
| | | The Extensible Markup Language (XML) |
| | | XML Versus HTML |
| | | XML and Object-Oriented Languages |
| | | Sharing Data Between Two Companies |
| | | Validating the Document with the Document Type Definition (DTD) |
| | | Integrating the DTD into the XML Document |
| | | Using Cascading Style Sheets |
| | | Conclusion |
| | | References |
| | Chapter 13. Objects and the Internet |
| | | Object-based Scripting Languages |
| | | A JavaScript Validation Example |
| | | Java Applets Are Objects |
| | | JavaBeans Are Objects |
| | | Conclusion |
| | | References |
| | Chapter 14. Distributed Objects and the Enterprise |
| | | The Common Object Request Broker Architecture (CORBA) |
| | | Java's Remote Method Invocation (RMI) |
| | | Java's Enterprise JavaBeans |
| | | Types of Enterprise JavaBeans |
| | | Conclusion |
| | | References |
| | Chapter 15. Design Patterns |
| | | Why Design Patterns? |
| | | Smalltalk's Model/View/Controller |
| | | Types of Design Patterns |
| | | Antipatterns |
| | | Conclusion |
| | | References |
| | Index |