Modern Java in Action

Book description

Manning's bestselling Java 8 book has been revised for Java 9 and 10! In Modern Java in Action, you'll build on your existing Java language skills with the newest features and techniques.



About the Technology

Modern applications take advantage of innovative designs, including microservices, reactive architectures, and streaming data. Modern Java features like lambdas, streams, and the long-awaited Java Module System make implementing these designs significantly easier. It’s time to upgrade your skills and meet these challenges head on!



About the Book

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.



What's Inside

  • Thoroughly revised edition of Manning’s bestselling Java 8 in Action
  • New features in Java 8, Java 9, and beyond
  • Streaming data and reactive programming
  • The Java Module System


About the Reader

Written for developers familiar with core Java features.



About the Authors
Raoul-Gabriel Urma is CEO of Cambridge Spark. Mario Fusco is a senior software engineer at Red Hat. Alan Mycroft is a University of Cambridge computer science professor; he cofounded the Raspberry Pi Foundation.

Quotes
A comprehensive and practical introduction to the modern features of the latest Java releases with excellent examples!
- Oleksandr Mandryk, EPAM Systems

Hands-on Java 8 and 9, simply and elegantly explained.
- Deepak Bhaskaran, Salesforce

A lot of great examples and use cases for streams, concurrency, and reactive programming.
- Rob Pacheco, Synopsys

My Java code improved significantly after reading this book. I was able to take the clear examples and immediately put them into practice.
- Holly Cummins, IBM

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): Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
  • Release date: October 2018
  • Publisher(s): Manning Publications
  • ISBN: 9781617293566