Modern Java in Action

Book Description

Modern Java in Action connects new features of the Java language with their practical applications. Using crystal-clear examples and careful attention to detail, this book respects your time. It will help you expand your existing knowledge of core Java as you master modern additions like the Streams API and the Java Module System, explore new approaches to concurrency, and learn how functional concepts can help you write code that’s easier to read and maintain.

Table of Contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Praise for the previous edition, Java 8 in Action, by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft.
  5. Preface
  6. Acknowledgments
  7. About this book
  8. About the authors
  9. About the cover illustration
  10. Part 1. Fundamentals
    1. Chapter 1. Java 8, 9, 10, and 11: what’s happening?
    2. Chapter 2. Passing code with behavior parameterization
    3. Chapter 3. Lambda expressions
  11. Part 2. Functional-style data processing with streams
    1. Chapter 4. Introducing streams
    2. Chapter 5. Working with streams
    3. Chapter 6. Collecting data with streams
    4. Chapter 7. Parallel data processing and performance
  12. Part 3. Effective programming with streams and lambdas
    1. Chapter 8. Collection API enhancements
    2. Chapter 9. Refactoring, testing, and debugging
    3. Chapter 10. Domain-specific languages using lambdas
  13. Part 4. Everyday Java
    1. Chapter 11. Using Optional as a better alternative to null
    2. Chapter 12. New Date and Time API
    3. Chapter 13. Default methods
    4. Chapter 14. The Java Module System
  14. Part 5. Enhanced Java concurrency
    1. Chapter 15. Concepts behind CompletableFuture and reactive programming
    2. Chapter 16. CompletableFuture: composable asynchronous programming
    3. Chapter 17. Reactive programming
  15. Part 6. Functional programming and future Java evolution
    1. Chapter 18. Thinking functionally
    2. Chapter 19. Functional programming techniques
    3. Chapter 20. Blending OOP and FP: Comparing Java and Scala
    4. Chapter 21. Conclusions and where next for Java
  16. Appendix A. Miscellaneous language updates
  17. Appendix B. Miscellaneous library updates
  18. Appendix C. Performing multiple operations in parallel on a stream
  19. Appendix D. Lambdas and JVM bytecode
  20. Index
  21. List of Figures
  22. List of Tables
  23. List of Listings

Product Information

  • Title: Modern Java in Action
  • Author(s): Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma
  • Release date: October 2018
  • Publisher(s): Manning Publications
  • ISBN: 9781617293566