Practical Design Patterns for Java Developers
eBook - ePub

Practical Design Patterns for Java Developers

Hone your software design skills by implementing popular design patterns in Java

Miroslav Wengner

  1. 266 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Practical Design Patterns for Java Developers

Hone your software design skills by implementing popular design patterns in Java

Miroslav Wengner

Book details
Table of contents
Citations

About This Book

Unravel the power of Java design patterns by learning where to apply them effectively to solve specific software design and development problems

Key Features

  • Decouple logic across objects with dependency injection by creating various vehicles with features
  • Finalize vehicle construction by chaining handlers using the Chain of Responsibility Pattern
  • Plan and execute an advanced vehicle sensor initiation with the Scheduler Pattern

Book Description

Design patterns are proven solutions to standard problems in software design and development, allowing you to create reusable, flexible, and maintainable code. This book enables you to upskill by understanding popular patterns to evolve into a proficient software developer.

You'll start by exploring the Java platform to understand and implement design patterns. Then, using various examples, you'll create different types of vehicles or their parts to enable clarity in design pattern thinking, along with developing new vehicle instances using dedicated design patterns to make the process consistent. As you progress, you'll find out how to extend vehicle functionalities and keep the code base structure and behavior clean and shiny. Concurrency plays an important role in application design, and you'll learn how to employ a such design patterns with the visualization of thread interaction. The concluding chapters will help you identify and understand anti-pattern utilization in the early stages of development to address refactoring smoothly. The book covers the use of Java 17+ features such as pattern matching, switch cases, and instances of enhancements to enable productivity.

By the end of this book, you'll 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 the observer pattern
  • Discover how to route vehicle messages by using the visitor pattern
  • Utilize and control vehicle resources with the thread-pool pattern
  • Understand the penalties caused by anti-patterns in software design

Who this book is for

If you are an intermediate-level Java developer or software architect looking to learn the practical implementation of software design patterns in Java, then this book is for you. No prior knowledge of design patterns is required, but an understanding of Java programming is necessary.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Practical Design Patterns for Java Developers an online PDF/ePUB?
Yes, you can access Practical Design Patterns for Java Developers by Miroslav Wengner in PDF and/or ePUB format, as well as other popular books in Computer Science & Entreprise Applications. We have over one million books available in our catalogue for you to explore.

Information

Year
2023
ISBN
9781804613320
Edition
1

Table of contents

  1. Practical Design Patterns for Java Developers
  2. Foreword
  3. Preface
  4. Part 1: Design Patterns and Java Platform Functionalities
  5. 1
  6. 2
  7. Part 2: Implementing Standard Design Patterns Using Java Programming
  8. 3
  9. 4
  10. 5
  11. Part 3: Other Essential Patterns and Anti-Patterns
  12. 6
  13. 7
  14. Assessments
  15. Index
  16. Other Books You May Enjoy
Citation styles for Practical Design Patterns for Java Developers

APA 6 Citation

Wengner, M. (2023). Practical Design Patterns for Java Developers (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/3837560 (Original work published 2023)

Chicago Citation

Wengner, Miroslav. (2023) 2023. Practical Design Patterns for Java Developers. 1st ed. Packt Publishing. https://www.perlego.com/book/3837560.

Harvard Citation

Wengner, M. (2023) Practical Design Patterns for Java Developers. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/3837560 (Accessed: 24 June 2024).

MLA 7 Citation

Wengner, Miroslav. Practical Design Patterns for Java Developers. 1st ed. Packt Publishing, 2023. Web. 24 June 2024.