14%
Java? Design Patterns: A Tutorial

Java? Design Patterns: A Tutorial

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Java developers know that design patterns offer powerful productivity benefits -- but until now, few patterns books have been specific enough to address their programming challenges. With Java Design Patterns, there's finally a hands-on, practical design patterns guide focused specifically on real-world Java development. Java Design Patterns is structured as a series of short chapters, each describing one Java 1.2 design pattern and providing one or more complete, working, visual example programs, complete with UML diagrams illustrating how the classes interact. The book covers three main categories of design patterns: creational, structural, and behavioral. Author James W. Cooper demonstrates several patterns at work in the context of development with the Java Foundation Classes (JFC) and Swing; and also presents several detailed case studies of Java development with design patterns. For all Java programmers, software engineers, and application developers.

Table of Contents:
Preface. Acknowledgments. I. WHAT ARE DESIGN PATTERNS? 1. Introduction. Defining Design Patterns. The Learning Process. Studying Design Patterns. Notes on Object-Oriented Approaches. The Java Foundation Classes. Java Design Patterns. 2. UML Diagrams. Inheritance. Interfaces. Composition. Annotation. JVISION UML Diagrams. Visual SlickEdit Project Files. II. CREATIONAL PATTERNS. 3. The Factory Pattern. How a Factory Works. Sample Code. The Two Subclasses. Building the SimpleFactory. Factory Patterns in Math Computation. Thought Questions. 4. The Factory Method. The Swimmer Class. The Event Classes. Straight Seeding. Our Seeding Program. Other Factories. When to Use a Factory Method. Thought Question. 5. The Abstract Factory Pattern. A GardenMaker Factory. How the User Interface Works. Adding More Classes. Consequences of the Abstract Factory Pattern. Thought Question. 6. The Singleton Pattern. Creating a Singleton Using a Static Method. Exceptions and Instances. Throwing an Exception. Creating an Instance of the Class. Providing a Global Point of Access to a Singleton Pattern. The javax.comm Package as a Singleton. Other Consequences of the Singleton Pattern. Thought Question. 7. The Builder Pattern. An Investment Tracker. Calling the Builders. The List Box Builder. The Check Box Builder. Consequences of the Builder Pattern. Thought Questions. 8. The Prototype Pattern. Cloning in Java. Using the Prototype. Using the Prototype Pattern. Prototype Managers. Cloning Using Serialization. Consequences of the Prototype Pattern. Thought Question. Summary of Creational Patterns. III. STRUCTURAL PATTERNS. 9. The Adapter Pattern. Moving Data between Lists. Using the JFC JList Class. Two-Way Adapters. Pluggable Adapters. Adapters in Java. Thought Question. 10. The Bridge Pattern. The Class Diagram. Extending the Bridge. Java Beans as Bridges. Consequences of the Bridge Pattern. Thought Question. 11. The Composite Pattern. An Implementation of a Composite. Computing Salaries. The Employee Classes. The Boss Class. Building the Employee Tree. Self-Promotion. Doubly Linked List. Consequences of the Composite Pattern. A Simple Composite. Composites in Java. Other Implementation Issues. Thought Questions. 12. The Decorator Pattern. Decorating a CoolButton. Using a Decorator. The Class Diagram. Decorating Borders in Java. Nonvisual Decorators. Decorators, Adapters, and Composites. Consequences of the Decorator Pattern. Thought Questions. 13. The Faade Pattern. Building the Faade Classes. Consequences of the Faade Pattern. Notes on Installing and Running the dbFrame Program. Thought Question. 14. The Flyweight Pattern. Discussion. Example Code. Flyweight Uses in Java. Sharable Objects. Copy-on-Write Objects. Thought Question. 15. The Proxy Pattern. Sample Code. Copy-on-Write. Enterprise Java Beans. Comparison with Related Patterns. Thought Question. Summary of Structural Patterns. IV. BEHAVIORAL PATTERNS. 16. Chain of Responsibility Pattern. Applicability. Sample Code. The List Boxes. Programming a Help System. A Chain or a Tree? Kinds of Requests. Examples in Java. Consequences of the Chain of Responsibility. Thought Questions. 17. The Command Pattern. Motivation. Command Objects. Building Command Objects. The Command Pattern. The Command Pattern in the Java Language. Consequences of the Command Pattern. Providing Undo. Thought Questions. 18. The Interpreter Pattern. Motivation. Applicability. Simple Report Example. Interpreting the Language. Objects Used in Parsing. Reducing the Parsed Stack. Implementing the Interpreter Pattern. Consequences of the Interpreter Pattern. Thought Question. 19. The Iterator Pattern. Motivation. Enumerations in Java. Sample Code. Filtered Iterators. Consequence of the Iterator Pattern. Composites and Iterators. Iterators in Java 1.2. Thought Question. 20. The Mediator Pattern. An Example System. Interactions between Controls. Sample Code. Mediators and Command Objects. Consequences of the Mediator Pattern. Single Interface Mediators. Implementation Issues. 21. The Memento Pattern. Motivation. Implementation. Sample Code. Consequences of the Memento Pattern. Thought Question. 22. The Observer Pattern. Watching Colors Change. The Message to the Media. The JList as an Observer. The MVC Architecture as an Observer. The Observer Interface and Observable Class. Consequences of the Observer Pattern. Thought Questions. 23. The State Pattern. Sample Code. Switching between States. How the Mediator Interacts with the StateManager. State Transitions. Mediators and the God Class. Consequences of the State Pattern. Thought Questions. 24. The Strategy Pattern. Motivation. Sample Code. The Context Class. The Program Commands. The Line and Bar Graph Strategies. Drawing Plots in Java. Consequences of the Strategy Pattern. Thought Question. 25. The Template Pattern. Motivation. Kinds of Methods in a Template Class. Template Method Patterns in Java. Sample Code. Templates and Callbacks. Consequences of the Template Pattern. Thought Question. 26. The Visitor Pattern. Motivation. When to Use the Visitor Pattern. Sample Code. Visiting the Classes. Visiting Several Classes. Bosses are Employees, Too. Catch-All Operations Using Visitors. Double Dispatching. Traversing a Series of Classes. Consequence of the Visitor Pattern. Thought Question. V. DESIGN PATTERNS AND THE JAVA FOUNDATION CLASSES. 27. The JFC, or Swing. Installing and Using Swing. Ideas behind Swing. The Swing Class Hierarchy. 28. Writing a Simple JFC Program. Setting the Look and Feel. Setting the Window Close Box. Making a JxFrame Class. A Simple Two-Button Program. More on JButton. 29. Radio Buttons and Toolbars. Radio Buttons. The JToolBar. JToggleButton. A Sample Button Program. 30. Menus and Actions. Action Objects. Design Patterns in the Action Object. 31. The JList Class. List Selections and Events. Changing a List Display Dynamically. A Sorted JList with a ListModel. Sorting More-Complicated Objects. Getting Database Keys. Adding Pictures in List Boxes. Programs on the CD-ROM. 32. The JTable Class. A Simple JTable Program. Cell Renderers. Rendering Other Kinds of Classes. Selecting Cells in a Table. Patterns Used in This Image Table. 33. The JTree Class. The TreeModel Interface. Summary. IV. CASE STUDIES. 34. Sandy and the Mediator. 35. Herb's Text Processing Tangle. 36. Mary's Dilemma. Bibliography.


Best Sellers


Product Details
  • ISBN-13: 9780201485394
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 187 mm
  • No of Pages: 352
  • Series Title: English
  • Sub Title: A Tutorial
  • Width: 233 mm
  • ISBN-10: 0201485397
  • Publisher Date: 17 Feb 2000
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Spine Width: 18 mm
  • Weight: 513 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Java? Design Patterns: A Tutorial
Pearson Education (US) -
Java? Design Patterns: A Tutorial
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Java? Design Patterns: A Tutorial

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA