Skip to main content
Apress
Book cover

Java Design Patterns

A Hands-On Experience with Real-World Examples

  • Book
  • © 2019

Overview

  • Presents a complete implementation for each topic; the outputs are generated using the latest edition of Eclipse (the most popular IDE in this area)
  • Includes an in-depth Q&A session in each chapter to help you understand the pros and cons of each design pattern
  • Covers alternative design patterns, including the Simple Factory Pattern, the Null Object Pattern, and the MVC Pattern

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

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (29 chapters)

  1. Gang of Four Patterns

Keywords

About this book

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

Authors and Affiliations

  • Bangalore, India

    Vaskaran Sarcar

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.

Bibliographic Information

Publish with us