Skip to Content
Java Design Patterns: A Hands-On Experience with Real-World Examples
book

Java Design Patterns: A Hands-On Experience with Real-World Examples

by Vaskaran Sarcar
May 2022
Intermediate to advanced
678 pages
11h 48m
English
Apress

Overview

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Design Patterns: A Hands-On Experience with Real-World Examples

Java Design Patterns: A Hands-On Experience with Real-World Examples

Vaskaran Sarcar
Java Concurrency in Practice

Java Concurrency in Practice

Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea
Modern Java in Action

Modern Java in Action

Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft

Publisher Resources

ISBN: 9781484279717Purchase LinkPublisher Website