Skip to main content
Apress

Java Design Patterns

A Hands-On Experience with Real-World Examples

  • Book
  • © 2022

Overview

  • Covers classical design patterns with the latest editions of Java and Eclipse
  • Includes implementation of the Java design patterns in real-world applications
  • Each chapter has a Q&A section to help you understand the pros and cons of each design pattern

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (30 chapters)

  1. Foundation

  2. The Gang of Four (GoF) Design Patterns

Keywords

About this book

Use the step-by-step approach of this book to learn and implement design patterns in real-world applications. It focuses on classical design patterns with Java 17 and Eclipse (2021-09). In addition to Gang of Four (GoF) design patterns, the book covers popular and alternative design patterns and includes criticisms of design patterns in a chapter on anti-patterns. 

The book is divided into four parts. Part one covers the SOLID design principles and the Simple Factory pattern. Part two covers the 23 (GoF) design patterns, including the creational patterns, structural patterns, and behavioral patterns. Part three covers alternative design patterns, including the Null Object pattern, and the model-view-controller (MVC) pattern. Part four covers criticisms of design patterns with a quick overview of anti-patterns. It also includes a chapter on FAQs on design patterns.

The book also includes a chapter on FAQs on design patterns. Each pattern is explained with real-world examples and the pros and cons of each of the design patterns are discussed. The book concludes with FAQs that can help you prepare for a job interview.


What You Will Learn

  • Know the SOLID design principles in depth
  • Implement the 23 design patterns from the GoF
  • Apply the Null Object pattern, Simple Factory pattern, and the MVC pattern
  • Know the criticism of design patterns 
  • Understand the anti-patterns
  • Verify your understanding through Q&A sessions
  • Select an alternative to these patterns by comparing their pros and cons







Who This Book Is For



Software developers, architects, and programmers

Authors and Affiliations

  • Garia, Kolkata, India

    Vaskaran Sarcar

About the author

Vaskaran Sarcar obtained his Master of Engineering degree in software engineering from Jadavpur University, Kolkata (India), and an MCA from Vidyasagar University, Midnapore (India). He has more than 12 years of experience in education and the IT industry. He devoted his early years (2005-2007) to teaching at various engineering colleges, and later he joined HP India PPS R&D Hub Bangalore. He worked there until August 2019. At the time of his retirement from HP, he was a Senior Software Engineer and Team Lead at HP. To follow his dream and passion, he is now an independent full-time author. He has written more than 10 books on Java and C# such as  Design Patterns in C# (2nd edition), Getting Started with Advanced C#, Interactive C#, Interactive Object-Oriented Programming in Java (2nd edition), and Java Design Patterns (2nd edition).

Bibliographic Information

Publish with us