Implementing Design Patterns Using Java 8 Lambda

Being able to design simple and fluent API to make your business applications easier to read is what you will get by following this course. All the tools brought by Java 8 to implement the standard Design Patterns are covered with many live demos.
Course info
Level
Intermediate
Updated
Jul 15, 2019
Duration
3h 9m
Table of contents
Course Overview
Introducing Default Methods to Chain and Compose Functions
Using Function Composition and Chaining to Build Comparators
From Factory and Registry to Builder Using Lambda Expressions
Implementing The Visitor Pattern Using Functions and Composition
Using Partial Application and Lambdas to Build Validators
Description
Course info
Level
Intermediate
Updated
Jul 15, 2019
Duration
3h 9m
Description

As a Java developer, mastering the standard design patterns from the Gang of Four book allows you to create better business applications, more robust and easier to maintain in the long run. In this course, Implementing Design Patterns Using Java 8 Lambda, you will learn how you can leverage the tools Java 8 added to the platform to write better code: easier to read and with better performances. These tools bring several functional programming paradigms to the Java language: function chaining and composition, and partial application. First, you will study how these tools have been used to improve the JDK itself through several examples including the Comparator API. Then you will see how you can use the same approach to implement several patterns on live demo examples, including the Factory, the Builder, the Singleton, and the Registry, following the principles of clean code. You will even implement the Visitor pattern in a functional and non-intrusive way. Finally, you will apply those principles to create your own Validator, purely functional and fluent. Mastering these techniques will help you creating performant, readable and versatile Java applications.

About the author
About the author

Passionate about programming computers for over 20 years, Jose made his debut in assembler and C, C for SIMD parallel machines before adopting Java as an object-oriented language. Assistant professor in Paris North University for more than 15 years, Jose also brings his expertise to many projects, in various industrial fields.

More from the author
More courses by Jose Paumard
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
(Music) Hello, my name is Jose. I'm a Java champion and Java Rock Star, and I'm so happy to present my new course, Implementing Design Patterns Using Java 8 Lambda. This course shows you how to leverage the functional patterns brought by Java 8 to implement the classical patterns from the famous Gang of Four book. First, you will see how those functional patterns have been used to improve the JDK itself, on consumers, predicates, and functions, and also on comparatives. Then you will see how the same techniques can be used on your applications, where the patterns are much more complex to implement. You will see the builder, the registry, and one of the most complex ones, the visitor. Once this is done, you will create your own purely functional and fluent validator. Functional programming, chaining, and composition of functions, PowerShell applications, all those topics are not easy to master. Mix them with the classical design patterns and you will get a complex subject. So let me take you through all this. I can't wait to see what you will be able to create with those new tools.