Description
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
Table of Contents
- Gang of Four Patterns
- Singleton Pattern – Vaskaran Sarcar
- Prototype Pattern – Vaskaran Sarcar
- Builder Pattern – Vaskaran Sarcar
- Factory Method Pattern – Vaskaran Sarcar
- Abstract Factory Pattern – Vaskaran Sarcar
- Proxy Pattern – Vaskaran Sarcar
- Decorator Pattern – Vaskaran Sarcar
- Adapter Pattern – Vaskaran Sarcar
- Facade Pattern – Vaskaran Sarcar
- Flyweight Pattern – Vaskaran Sarcar
- Composite Pattern – Vaskaran Sarcar
- Bridge Pattern – Vaskaran Sarcar
- Visitor Pattern – Vaskaran Sarcar
- Observer Pattern – Vaskaran Sarcar
- Strategy (Policy) Pattern – Vaskaran Sarcar
- Template Method Pattern – Vaskaran Sarcar
- Command Pattern – Vaskaran Sarcar
- Iterator Pattern – Vaskaran Sarcar
- Memento Pattern – Vaskaran Sarcar
- State Pattern – Vaskaran Sarcar
- Mediator Pattern – Vaskaran Sarcar
- Chain-of-Responsibility Pattern – Vaskaran Sarcar
- Interpreter Pattern – Vaskaran Sarcar
- Additional Design Patterns
- Simple Factory Pattern – Vaskaran Sarcar
- Null Object Pattern – Vaskaran Sarcar
- MVC Pattern – Vaskaran Sarcar
- Final Discussions on Design Patterns
- Criticisms of Design Patterns – Vaskaran Sarcar
- AntiPatterns: Avoid the Common Mistakes – Vaskaran Sarcar
- FAQs – Vaskaran Sarcar
Author Biography
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.
Additional information
| Weight | 1.009 kg |
|---|
Only logged in customers who have purchased this product may leave a review.
Related Products









Reviews
There are no reviews yet.