
Java Design Patterns: A Hands-On Experience with Real-World Examples
Vaskaran Sarcar
Résumé
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
Chapter 1: Singleton PatternChapter Goal: To discuss the Singleton Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 2: Prototype PatternChapter Goal: To discuss the Prototype Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)
Chapter 3: Builder PatternChapter Goal: To discuss the Builder Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)
Chapter 4: Factory Method PatternChapter Goal: To discuss the Factory Method Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 5: Abstract Factory PatternChapter Goal: To discuss the Abstract Factory Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA1.B: Structural Patterns
Chapter 6: Proxy PatternChapter Goal: To discuss the Proxy Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 7: Decorator PatternChapter Goal: To discuss the Decorator Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 8: Adapter PatternChapter Goal: To discuss the Adapter Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 9: Facade PatternChapter Goal: To discuss the Facade Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 10: Flyweight PatternChapter Goal: To discuss the Flyweight Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 11: Composite PatternChapter Goal: To discuss the Composite Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 12: Bridge PatternChapter Goal: To discuss the Bridge Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA1.C: Behavioral Patterns
Chapter 13: Visitor PatternChapter Goal: To discuss the Visitor Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 14: Observer PatternChapter Goal: To discuss the Observer Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 15: Strategy PatternChapter Goal: To discuss the Strategy Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 16: Template Method PatternChapter Goal: To discuss the Template Method Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NASub -Topics NA
Chapter 17: Command PatternChapter Goal: To discuss the Command Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 18: Iterator PatternChapter Goal: To discuss the Iterator Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 19: Memento PatternChapter Goal: To discuss the Memento Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages 8-10+(Rough estimate)Sub -Topics NA
Chapter 20: State PatternChapter Goal: To discuss the State Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NASub -Topics NA
Chapter 21: Mediator PatternChapter Goal: To discuss the Mediator Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 22: Chain of Responsibility PatternChapter Goal: To discuss the Chain of Responsibility Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 23: Interpreter PatternChapter Goal: To discuss the Interpreter Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 23: Interpreter PatternChapter Goal: To discuss the Interpreter Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Part-II: Additional Design PatternsChapter 24: Simple Factory PatternChapter Goal: To discuss the Simple Factory Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 25: Null Object PatternChapter Goal: To discuss the Null Object Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NA
Chapter 26: MVC PatternChapter Goal: To discuss the MVC Pattern with the GoF Definition and the core concept behind that with a real-life example and a computer world example. The chapter ends with a concrete implementation and its corresponding output. Author has used Eclipse IDE for this purpose. This is free and latest in this field.No of pages: 8-10+ (Rough estimate)Sub - Topics NAPart-III: Final talks on Design Patterns
Chapter 27: Criticism to Design PatternsChapter Goal: To discuss the criticism to design patternsNo of pages: 5 (Rough estimate)Sub - Topics NAChapter 28: Brief overview of Anti-PatternsChapter Goal: To discuss the anti-patternsNo of pages: 5 (Rough estimate)Sub - Topics NA
Chapter 29: FAQChapter Goal: This chapter will consist of the frequently asked questions to help readers for a quick revision. This chapter will also clear the doubts that may arise among similar patterns.No of pages: 7-10+ (Rough estimate)Sub - Topics NA
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 .
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Vaskaran Sarcar |
Parution | 06/12/2018 |
Nb. de pages | 500 |
EAN13 | 9781484240779 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse