Modern Java in Action
A comprehensive guide to the features of modern Java (versions 8, 9, 10, and 11), focusing on lambdas, streams, functional programming, and reactive programming techniques.
Panoramica del corso
Content Summary
A comprehensive guide to the features of modern Java (versions 8, 9, 10, and 11), focusing on lambdas, streams, functional programming, and reactive programming techniques.
Master the art of modern Java with lambdas, streams, and functional-style programming.
Author: Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
Acknowledgments: Supported by the Manning Early Access Program (MEAP) readers, development editors Kevin Harreld and Dennis Sellinger, and various technical reviewers including Jason Lee and William Wheeler.
Learning Objectives
- Analyze Java’s evolution within the programming ecosystem and its adaptation to multicore hardware.
- Implement behavior parameterization using method references and lambdas to pass code as a "first-class citizen."
- Distinguish between internal and external iteration and explain how the Streams API facilitates parallelism.
- Identify how behavior parameterization solves the problem of "coping with changing requirements" in software evolution.
- Implement the Strategy design pattern using Predicates to filter data by abstract criteria.
- Reduce code verbosity by transitioning from named classes to anonymous classes and finally to lambda expressions.
- Identify and write valid lambda expressions using both expression and block syntax styles.
- Implement the execute-around pattern to improve code reusability in resource-intensive tasks.
- Utilize standard functional interfaces and their primitive specializations to optimize performance.
- Define a Java Stream and identify its primary characteristics (Declarative, Composable, Parallelizable).