Advertisement

Java Design Patterns

A Hands-On Experience with Real-World Examples

  • Vaskaran Sarcar

Table of contents

  1. Front Matter
    Pages i-xxxiii
  2. Gang of Four Patterns

    1. Front Matter
      Pages 1-1
    2. Vaskaran Sarcar
      Pages 3-17
    3. Vaskaran Sarcar
      Pages 19-31
    4. Vaskaran Sarcar
      Pages 33-54
    5. Vaskaran Sarcar
      Pages 55-66
    6. Vaskaran Sarcar
      Pages 67-85
    7. Vaskaran Sarcar
      Pages 87-102
    8. Vaskaran Sarcar
      Pages 103-116
    9. Vaskaran Sarcar
      Pages 117-134
    10. Vaskaran Sarcar
      Pages 135-146
    11. Vaskaran Sarcar
      Pages 147-163
    12. Vaskaran Sarcar
      Pages 165-178
    13. Vaskaran Sarcar
      Pages 179-191
    14. Vaskaran Sarcar
      Pages 193-215
    15. Vaskaran Sarcar
      Pages 217-231
    16. Vaskaran Sarcar
      Pages 233-249
    17. Vaskaran Sarcar
      Pages 251-261
    18. Vaskaran Sarcar
      Pages 263-283
    19. Vaskaran Sarcar
      Pages 285-302
    20. Vaskaran Sarcar
      Pages 303-327
    21. Vaskaran Sarcar
      Pages 329-352
    22. Vaskaran Sarcar
      Pages 353-376
    23. Vaskaran Sarcar
      Pages 377-387
    24. Vaskaran Sarcar
      Pages 389-407
  3. Additional Design Patterns

    1. Front Matter
      Pages 409-409
    2. Vaskaran Sarcar
      Pages 411-420
    3. Vaskaran Sarcar
      Pages 421-436
    4. Vaskaran Sarcar
      Pages 437-457
  4. Final Discussions on Design Patterns

    1. Front Matter
      Pages 459-459
    2. Vaskaran Sarcar
      Pages 461-466
    3. Vaskaran Sarcar
      Pages 467-474
    4. Vaskaran Sarcar
      Pages 475-480
  5. Back Matter
    Pages 481-500

About this book

Introduction

Get hands-on experience implementing 26 of the most common design patterns using Java and Eclipse. In addition to Gang of Four (GoF) design patterns, you will also learn about alternative design patterns, and understand the criticisms of design patterns with an overview of anti-patterns. For each pattern you will see at least one real-world scenario, a computer-world example, and a complete implementation including output.

This book has three parts. The first part covers 23 Gang of Four (GoF) design patterns. The second part includes three alternative design patterns. The third part presents criticisms of design patterns with an overview of anti-patterns. You will work through easy-to-follow examples to understand the concepts in depth and you will have a collection of programs to port over to your own projects.

A Q&A session is included in each chapter and covers the pros and cons of each pattern. The last chapter presents FAQs about the design patterns. The step-by-step approach of the book helps you apply your skills to learn other patterns on your own, and to be familiar with the latest version of Java and Eclipse.

What You'll Learn:

  • Work with each of the design patterns
  • Implement design patterns in real-world applications
  • Choose from alternative design patterns by comparing their pros and cons
  • Use the Eclipse IDE to write code and generate output
  • Read the Q&A session in each chapter with pros and cons for each design pattern

Keywords

Design Patterns Java Structural Pattern Behavioural Pattern Observer Pattern Composite Pattern Singleton Pattern

Authors and affiliations

  • Vaskaran Sarcar
    • 1
  1. 1.BangaloreIndia

Bibliographic information

Industry Sectors
Automotive
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Energy, Utilities & Environment
Engineering