Home > Store

Art of Objects, The: Object-Oriented Design and Architecture

Register your product to gain access to bonus material or receive a coupon.

Art of Objects, The: Object-Oriented Design and Architecture

Book

  • Sorry, this book is no longer in print.
Not for Sale

Description

  • Copyright 2001
  • Dimensions: 7-3/8" x 9-1/4"
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-71161-3
  • ISBN-13: 978-0-201-71161-5

In this book, a leading software architect presents the rock-solid foundations of object design and architecture -- and the art of applying them. The Art of Objects will help analysts, architects, and developers fully leverage today's most important object tools and technologies, including Java, UML, XML, middleware, patterns, and much more. Its real-world case studies, examples, and exercises are designed in a holistic, forward-looking manner, ensuring that whatever technologies go out of fashion, readers will have the object skills they need to succeed. Yun-Tung Lau presents the language-independent fundamentals of object design; then provides a detailed overview of the Unified Modeling Language. Building from the basics, he presents advanced approaches such as object relationship loops, and relationship fission for analyzing complex object structures. The Art of Objects contains extensive coverage of persistent objects, including mapping to relational tables, event processing objects, distributed objects, CORBA, and the Interface Definition Language. It also introduces the latest XML object models.

Downloads

Source Code

Click below for Source Code related to this title:
artobjcd.zip

Sample Content

Table of Contents



Preface.


Organization of the Book.


Online Resources.


Acknowledgments.


1. Basic Concepts.

The Nature of Objects.

Unified Modeling Language.

UML Notation Basics.

Object Creation and Destruction.

Associations and Links.

Binary Associations and Links.

Ordering and Sorting.

Navigation and Referential Integrity.

Ternary and Higher Order Associations.

Aggregation and Composition.

Servant Classes and Delegation.

Inheritance.

Inherited versus Servant Classes.

Polymorphism and Object Substitution.

Exercises.



2. Common Patterns in Static Design.

Collection Managers.

Containers.

Self-Containing Classes, Hierarchies, and Networks.

Relationship Loops.

Relationship Fission.

Inheritance of Relationship Loops.

Double Loops.

Three-Tier Relationship Loops.

Binary Association Classes.

Implementing Binary Association Classes.

Recursive Association Class.

The Handle-Body Pattern.

Dynamic Schema.

Shared Object Pools.

Object Model for Extensible Markup Language.

XML Basics.

XML Object Models.

The Strengths and Weaknesses of XML.

Case Study: ATM System Software.

Project Description.

State Analysis and Design.

Case Study: Shared Whiteboard.

Case Study: Access Control Lists.

Exercises.



3. Persistent Objects.

Transactions and Database Management Systems.

Object-Oriented Databases.

Database Roots and Extents.

Persistence-Enabled Objects.

Destruction of Persistent Objects.

Schema Evolution.

Relational Databases.

Mapping Persistent Objects to Tables.

Classes and Binary Associations.

Aggregation, Composition, and Servant Classes.

Ternary and Higher Order Associations.

Reducing Ternary Associations to Binary Ones.

Degenerate Ternary Associations.

Inheritance.

Mapping Rules Summary.

A Critical Comparison Between Relational and Object-Oriented Databases.

Optimization of Relational Tables.

Optimization of Persistent Objects.

Case Study: ATM System Software.

Case Study: Shared Whiteboard.

Case Study: A Rental Business.

Initial Analysis and Design.

Full Object Design for Multiple Stores.

Detailed Object Designs.

Case Study: Access Control Lists.

Exercises.



4. Advanced Topics in Object Modeling.

Abstract Classes.

Multiple Inheritance.

Interfaces.

Inner Classes.

Collections.

Packages.

Components.

Nodes.

UML Notation Basics for Dynamic Modeling.

Reverse Engineering and Irreducible Patterns.

Exercises.



5. Dynamic Object Modeling Basics.

Use Case Analyses.

Sequence Diagrams.

The Client/Server Model and Distributed Objects.

Interface Definition and Client/Server Development.

The CORBA Standard.

Interface Definition Language.

Statechart Diagrams.

Case Study: ATM System Software.

Case Study: Shared Whiteboard.

Case Study: A Rental Business.

Case Study: Access Control Lists.

Exercises.



6. Common Interface Design Patterns.

Object Wrappers.

Object Adapters.

Object Factories and Managers.

Interfaces as Servant Classes.

Servant Interfaces in Event Processing.

Single Event Pushing and Observers.

Callbacks from Server Objects.

Subscription and Notification.

Model-View-Controller.

Relationship Loops with Interfaces.

Inheritance Ladders.

CORBA Objects.

CORBA Client Stubs.

Tactics in Designing Distributed Objects.

Proxy and Surrogate Objects.

Case Study: ATM System Software.

Case Study: Shared Whiteboard.

Message Port — An Infrastructure for a Collaboration Group.

Sequence Diagrams for MessagePort.

Case Study: Access Control Lists.

Exercises.



7. Object-Oriented Architecture.

Notations for Architecture Diagrams.

Procedural Processing Systems.

Client/Server Systems.

“Thin Clients” and Object IDs.

Web Applications Using the MVC Framework.

Layered Systems.

Layering with Servant Objects.

Three-Tier and Multi-Tier Systems.

Clustering and Serializing.

Agents.

Aggregations and Federations.

Architectural Patterns in UML.

Case Study: ATM System Software.

Case Study: Shared Whiteboard.

The Shared Whiteboard Aggregation.

Image Exchange Formats and Policies.

The Interface and Control Layers.

Synchronization and Related Issues.

Trace Table for Requirements.

Case Study: A Rental Business.

Case Study: The Enterprise JavaBeans Framework.

Static Structures.

Resource Management Strategies.

Dynamic Behaviors of Entity Beans.

Exercises.



Summaries and Notes.

Chapter Summary and Notes.

Notes on CORBA-COM Interoperability.

Case Studies Summary.



Answers to Exercises.

Chapter Exercise Answers.



Appendix A: Quick References for Object Designers.


Appendix B: Sample Code Reference List.


Appendix C: Features of Object-Oriented Languages.


References.


Index. 0201711613T04062001

Preface

Object-oriented programming relies on programming languages. However, the concepts of objects transcend any specific programming languages. Many design patterns offer efficient modeling of static and dynamic object relationships. They can be used as the building blocks for sophisticated software systems. Similarly, at a system level, object-oriented architecture provides a lucid, high-level description of interconnected objects.

Tools may change. Programming languages may go out of favor. Yet the foundation of object design and architecture, and the art of applying it, will remain sound for a long time.

This book systematically presents the basic concepts of objects and practical object design patterns (both static and dynamic). It helps readers to gain a deep understanding of the patterns, allowing them to find design solutions quickly. In addition, the topics are forward looking, encompassing persistent objects, distributed objects, interface design patterns, XML (eXtensible Markup Language) object models, Web applications with thin clients, and so forth. Going beyond the design level, the book discusses object-oriented architecture, covering clients/servers, multi-tier systems, federations, agents, and others.

The Unified Modeling Language (UML), especially its graphic notation, is used as the primary means of presentation. The contents are independent of specific programming languages, making the book a general-purpose reference. However, many exercises do relate to certain languages (mostly Java). They help bring the readers closer to implementation and foster a concrete understanding of the underlying concepts. In addition, a wide range of real-world case studies and examples help elucidate these concepts and their practical application.

I did not use UML to specify all the details of an object design. For example, the UML Object Constraint Language is not used. In my opinion, source code with adequate inline comments is the best place to document the detailed logic of object behaviors.

This book can be used as a textbook for university or industrial training courses, or as a reference book for courses on object-oriented programming languages. This book is also suitable as a reference for mid- to advanced-level software professionals and graduate students. Many exercises are derived from actual projects. They expose readers to the full complexity of real-world systems.

Organization of the Book
This book has nine chapters, including several integrated case studies throughout the book. Chapter 1 describes the basic concepts in object-oriented programming, which include object, class, association, aggregation, servant class, and inheritance. It also introduces some basic notations of UML.

Chapter 2 discusses the common patterns in static design. The focus here is on the static relationships between classes. The dynamic or time-dependent behaviors are left to later chapters. I systematically present simple and complex patterns. They allow object designers to design with patterns rather than with individual classes.

I note that the distinction between analysis and design is vague. Analysis is more on understanding the concepts in an application domain and investigating the requirements. Design is more on finding a solution and verifying that the solution fits the requirements. With a concrete understanding of the object concepts and the relationships behind the static patterns, one would naturally apply object analyses and designs in an iterative fashion. The ultimate criterion for an appropriate object design is its fitness to the requirements.

In Chapter 3 I first present the basic concepts on database management and persistent objects. I then discuss different strategies to make objects persistent, particularly those involving object-oriented databases and relational databases. I also examine object-relational mapping in detail and give a comparison between the two types of databases.

Chapter 4 introduces some advanced topics in object modeling. They include abstract classes, multiple inheritance, interfaces, inner classes, collections, packages, and components. These are extensions to the basic object concepts. I also discuss the reverse engineering of object designs and the identification of irreducible patterns, which is presented in Chapter 2.

Chapter 5 describes modeling the dynamic behavior of objects. I discuss use case analyses and object sequence diagrams. I also introduce the important concepts of client/server and distributed objects. For distributed objects, I cover interface definition, and the Common Object Request Broker Architecture (CORBA) standard and its operational mechanisms.

Then in Chapter 6 I present various interface design patterns. These patterns are intimately related to the dynamic behaviors of their constituent objects. Such behaviors are documented with sequence diagrams. I also discuss interface patterns related to CORBA objects.

In Chapter 7 I elevate the discussion to the system level. I describe various object-oriented architectures, including procedural processing systems, client/server systems, layered systems, multi-tier systems, agents, and aggregations and federations. Note that the distinction between architecture and design is not absolute. In architecture we are more concerned with the coordination between components, overall system performance, and scaling properties. In design we focus on the details within a component, an interface, or a subsystem.

Chapter 8 gives summaries and notes for the preceding chapters, whereas Chapter 9 provides answers to all exercises.

The integrated case studies serve as real-life examples to illustrate the

practical applications of the concepts. They appear at the ends of various chapters, culminating in Chapter 7 with a discussion of their system architectures. Readers are highly recommended to work through them in some detail. A concrete understanding of the basic concepts can only be built through hands-on design and implementation.

Sections with an asterisk after their titles may be skipped during the first reading. They are topics with somewhat narrower interests. Readers who are primarily interested in software system architecture may proceed directly to Chapter 7, which can be read as a survey of different architectural patterns.

Finally, the appendices provide various reference information. In particular, Appendix A summarizes UML notations, followed by a quick look-up table to all object designs appearing in the main text and exercises. Appendix B provides a list of code samples for each chapter. Appendix C lists the features of various object-oriented languages.

Online Resources
Fully functional code samples are available from http://www.awl.com/cseng/titles/0-201-71161-3/. The code samples have more than 40,000 source lines and are all written in Java. They cover nearly all examples described in the main text and most case studies. Appendix B lists the sample code for the chapters. Studying the code will help solidify the reader's understanding of the designs. Readers are encouraged to extend and enrich the sample code. Furthermore, students in courses on object-oriented programming languages may implement the designs appearing in the chapter exercises as additional exercises.

0201711613P04062001

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020