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

  • 3h 54m
  • Vaskaran Sarcar
  • Apress
  • 2019

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 in-depth Q&A session in each chapter with pros and cons for each design pattern

Who This Book Is For

Software developers, architects, and programmers

About the Author

Vaskaran Sarcar obtained his Master of Engineering degree from Jadavpur University, Kolkata, in Software Engineering. Currently, he is Senior Software Engineer and Team Lead in the R&D Hub at HP Inc. India. He was a national Gate Scholar and has more than 12 years of experience in education and the IT industry. He is an alumnus of prestigious institutions in India such as Jadavpur University, Vidyasagar University, and Presidency University (formerly Presidency College). Reading and learning new things are his passions. You can connect to Vaskaran on LinkedIn.

Other books by Vaskaran include the following: Design Patterns in C# (Apress), Interactive C# (Apress), Interactive Object-Oriented Programming in Java (Apress), Java Design Patterns (First Edition) (Apress), C# Basics: Test Your Skill, and Operating System: Computer Science Interview Series.

In this Book

  • Singleton Pattern
  • Prototype Pattern
  • Builder Pattern
  • Factory Method Pattern
  • Abstract Factory Pattern
  • Proxy Pattern
  • Decorator Pattern
  • Adapter Pattern
  • Facade Pattern
  • Flyweight Pattern
  • Composite Pattern
  • Bridge Pattern
  • Visitor Pattern
  • Observer Pattern
  • Strategy (Policy) Pattern
  • Template Method Pattern
  • Command Pattern
  • Iterator Pattern
  • Memento Pattern
  • State Pattern
  • Mediator Pattern
  • Chain-of-Responsibility Pattern
  • Interpreter Pattern
  • Simple Factory Pattern
  • Null Object Pattern
  • MVC Pattern
  • Criticisms of Design Patterns
  • AntiPatterns: Avoid the Common Mistakes
  • FAQs
SHOW MORE
FREE ACCESS