
Practical Design Patterns for Java Developers
Hone your software design skills by implementing popular design patterns in Java
By: Miroslav Wengner, Bruno Souza
eBook | 3 February 2023
At a Glance
ePUB
eBook
RRP $54.04
$48.99
or 4 interest-free payments of $12.25 with
orInstant Digital Delivery to your Kobo Reader App
Unravel the power of java design patterns by learning where to use and apply them effectively to solve specific problems in software design and development
Key Features
- Decouple logic across the objects with Dependency Injection by creating various vehicles with features
- Finalize a vehicle construction by chaining handlers by using the Chain of Responsibility Pattern
- Plan and execute an advanced vehicle sensors initiation with Scheduler Pattern
Book Description
Design patterns are proven solutions to standard problems in software design and development. It allows you to create reusable, flexible, and maintainable code. Knowing some popular patterns is essential to becoming a proficient software developer thereby elevating your skills to the next level.
In this book, you will begin by exploring the Java module system for effective understanding and implementation of design patterns. You'll start by covering an example of filling out parking places with vehicles with prototype Patterns. Then, you will learn how to create only one vehicle that is shared with Singleton Pattern. You will then extend object functionality by using the Decorator Pattern and reducing a refactoring effort with Extension Objects Pattern. Later, you will learn how to avoid expensive initialization with Caching Pattern and provide default behavior with Null Object Pattern. You'll also perform a less expensive multi-threaded execution with Thread Pool Pattern. Finally, you will identify and understand the anti-pattern utilization at the early stages of development.
By the end of this book, you will have gained practical knowledge of design patterns in java and be able to apply them to address common design problems.
What you will learn
- Understand the most common problems that can be solved using Java Design Patterns
- Uncover Java building elements, their usages, and concurrency possibilities
- Optimize a vehicle memory footprint with the Flyweight Pattern
- Explore one-to-many relations between instances with Observer Pattern
- How to route vehicle messages by using the Visitor Pattern
- Utilize and control vehicle resources with Thread Pool Pattern
- Understand the penalties caused by anti-patterns in software design
Who This Book Is For
This book is for intermediate-level Java developers and software architects who want to learn the practical implementation of software design patterns in java. No prior knowledge of design patterns is required, but an understanding of Java programming is necessary.
Table of Contents
- Getting into Software Design Patterns
- Discovering the Java Platform for Design Patterns
- Working with Creational Design Patterns
- Applying Structural Design Patterns
- Behavioral Design Patterns
- Implementing Concurrency Design Patterns
- Understanding common Anti Patterns
on
ISBN: 9781804613320
ISBN-10: 1804613320
Published: 3rd February 2023
Format: ePUB
Language: English
Publisher: Packt Publishing
























