- Course
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
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.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
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.
Implementing Design Patterns Using Java 8 Lambda
-
Version Check | 15s
-
Introducing the Course: Designing API with Functional Interfaces | 1m 42s
-
Who Are You? What Should You Know to Follow this Course? | 2m 18s
-
Introducing the Agenda of the Course and This Module | 1m 47s
-
Creating Default Methods to Chain Consumers as Lambda Expressions | 5m 37s
-
Implementing the Consumer.andThen Method to Chain Consumers | 2m 15s
-
Preventing the Chaining of Corrupted Lambdas Using Exceptions | 2m 38s
-
Wrapping up the Use of Default Methods to Chain Lamdbas | 57s
-
Leveraging Default Methods to Combine Predicates | 3m 37s
-
Implementing the Predicate.and Logical Operator | 2m 46s
-
Negating a Predicate with a Predicate.negate Default Method | 2m 33s
-
Wrapping up the Use of Default Methods to Combine Lamdbas | 51s
-
Setting up the Generic Types of a Chained Function | 4m 51s
-
Implementing the Chaining of Functions with Default Methods | 1m 57s
-
Understanding the Difference between Chaining and Composing | 4m 12s
-
Using Static Methods on Functional Interfaces to Create Lambdas | 1m 30s
-
Checking the Real Functional Interfaces from the JDK | 1m 41s
-
Module Wrap Up | 2m 39s