Holiday Hosting Essentials for the Kitchen
Enjoy fast, free delivery, exclusive deals, and award-winning movies & TV shows.
Buy new:
-54% $23.10
FREE delivery Tuesday, March 31 on orders shipped by Amazon over $35
Ships from: Amazon
Sold by: TRIO ALLIANCE
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Java 8 in Action: Lambdas, streams, and functional-style programming

Follow the authors

Get new release updates & improved recommendations
See all
Something went wrong. Please try your request again later.

Java 8 in Action: Lambdas, streams, and functional-style programming 1st Edition


{"desktop_buybox_group_1":[{"displayPrice":"$23.10","priceAmount":23.10,"currencySymbol":"$","integerValue":"23","decimalSeparator":".","fractionalValue":"10","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"ern5IbAn1ygvdWZ8maEuUp72tUhzVywKm916CkSYnkDyOgUY99XadEg5aLiW673IfJEQBOjY8IEozHw%2B0a57HCLRbh1ZaBtac1n%2F0hmupyTTUKPJfl8Zh2zPCKEr%2FkU4yQsEijIugDW1WxydtboWf8UB0zM67N%2F5FIgnHcrkm%2B%2FPz4OL7wa%2FhS5PWo7aZrPx","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$8.79","priceAmount":8.79,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"79","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"ern5IbAn1ygvdWZ8maEuUp72tUhzVywK00ZOXz5PAo7os2Fg4X2OZh%2BNX1alYqkbprfnEzApq0wgVIeLi1LPs8b5h2DCwHLjy%2F0t%2FeH6smnumt26JC8zkzpGeG99xamFsv25DmFO3giREl92jlVCuUjNKyMDiwu%2BUZRqUA26TBq5qtDRjf95cw%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Summary

Java 8 in Action is a clearly written guide to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in!

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Book

Every new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API.

This book is written for programmers familiar with Java and basic OO programming.

What's Inside

  • How to use Java 8's powerful new features
  • Writing effective multicore-ready applications
  • Refactoring, testing, and debugging
  • Adopting functional-style programming
  • Quizzes and quick-check questions

About the Authors

Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation.

Table of Contents

  1. PART 1 FUNDAMENTALS
  2. Java 8: why should you care?
  3. Passing code with behavior parameterization
  4. Lambda expressions
  5. PART 2 FUNCTIONAL-STYLE DATA PROCESSING
  6. Introducing streams
  7. Working with streams
  8. Collecting data with streams
  9. Parallel data processing and performance
    PART 3 EFFECTIVE JAVA 8 PROGRAMMING
  10. Refactoring, testing, and debugging
  11. Default methods
  12. Using Optional as a better alternative to null
  13. CompletableFuture: composable asynchronousprogramming
  14. New Date and Time API
  15. PART 4 BEYOND JAVA 8
  16. Thinking functionally
  17. Functional programming techniques
  18. Blending OOP and FP: comparing Java 8 and Scala
  19. Conclusions and where next for Java
  20. APPENDIXES
  21. Miscellaneous language updates
  22. Miscellaneous library updates
  23. Performing multiple operations in parallelon a stream
  24. Lambdas and JVM bytecode

There is a newer edition of this item:

Frequently bought together

This item: Java 8 in Action: Lambdas, streams, and functional-style programming
$23.09
Get it as soon as Friday, Apr 3
Sold by LosAngelesBookStore and ships from Amazon Fulfillment.
+
$17.94
Get it as soon as Sunday, Mar 29
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
Some of these items ship sooner than the others.
Choose items to buy together.

Customers also bought or read

Loading...

Editorial Reviews

About the Author

Raoul-Gabriel Urma has worked as a software engineer for Oracle's Java Platform Group, Google's Python team, Ebay, and Goldman Sachs as well as for several startup projects. He's currently completing a PhD in Computer Science at the University of Cambridge and is a regular speaker and instructor.

Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He created the open source library lambdaj, an internal Java DSL for manipulating collections in a functional way.

Alan Mycroft is Professor of Computer Science at the University of Cambridge, where he researches programming languages, their semantics, optimization and implementation. He is a co-founder and Trustee of the Raspberry Pi Foundation.

Product details

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.6 out of 5 stars
171 global ratings

Customers say

Customers find the book conveys highly useful information and is incredibly easy to understand. However, the verbosity receives mixed feedback, with some customers finding it too verbose.
AI Generated from the text of customer reviews

Select to learn more

21 customers mention information quality, 20 positive, 1 negative
Customers find the information in the book highly useful and thorough, with one customer noting it provides a solid guide to Java 8 features and another highlighting its detailed coverage of functional programming concepts.
Well written, with excellent sample code. I can't wait to start using these techniques professionally!Read more
Great informative book, I've recommended this to several friends....Read more
Very useful book, coming back to it every time I need to recall some details.Read more
...There is a lot of great content in this book....Read more
8 customers mention readability, 6 positive, 2 negative
Customers find the book easy to read and understand.
Good read.Read more
...makes this book so great is it not only presents the material in a very readable yet thorough way, it also gives a great sense of context for why...Read more
...refactoring that makes code more terse can also make the code super difficult to read, the suggested changes from this book are incredibly easy to...Read more
Goo examples and easy to read. Covers all news in Java 8Read more
5 customers mention verbosity, 2 positive, 3 negative
Customers have mixed opinions about the verbosity of the book, with some finding it too verbose.
Well written, but verbose, suitable to beginning programmers...Read more
...you the key ideas which drove the API design, so that the APIs themselves make sense and therefore become easy to learn.Read more
...The issue I struggle with is the unnecessary verbosity in this book....Read more
A concise approach to the Lambdas...Read more

Top reviews from the United States

  • Reviewed in the United States on September 15, 2015
    Format: PaperbackVerified Purchase
    What makes this book so great is it not only presents the material in a very readable yet thorough way, it also gives a great sense of context for why this material matters, comparing freely against other competing implementations of similar ideas (eg Guava or Scala). What a find -- I love it when I find a rare programming book like this!

    So many lesser titles, especially when the topic is about essentially an API, tend to read like a computer-generated API doc. But this title reads more like a friendly professor showing you the key ideas which drove the API design, so that the APIs themselves make sense and therefore become easy to learn.
    3 people found this helpful
    Report
  • Reviewed in the United States on January 4, 2015
    Format: PaperbackVerified Purchase
    This book was amazing, and there can be no better book to teach about java 8. You finish it really knowing all about java 8 newest and most important features, but more than that, the book provides a chapter only about functional programming, why use it and even some technics to improve your code functional wise. At the end there is also a comparative between java 8 and scala, a highly functional programming language that runs on the JVM , that may interest the mote curious, although for me that was one of the only boring chapters in the book , because really, the entire book is great and not boring at all, only this last chapter ,where it compares with scala that I couldn't bring myself to finish
    2 people found this helpful
    Report
  • Reviewed in the United States on December 18, 2016
    Format: PaperbackVerified Purchase
    I love this book! I've been using it to help me find good ways to refactor my Java code. It's written in a way that shows you step by step on how to transition from common ways of doing things in Java 7 to the Java 8 streams way. Even though some refactoring that makes code more terse can also make the code super difficult to read, the suggested changes from this book are incredibly easy to understand.

    I also like that the book has found a great balance of giving good usable information without being too simplistic or convoluted.
    3 people found this helpful
    Report
  • Reviewed in the United States on February 1, 2015
    Format: PaperbackVerified Purchase
    Not bad, but not sure if it is going to be the classic Java text the author(s) fantasize about. There is a lot of great content in this book. I find myself thinking I really like the book but then I realize I'm actually, in fact, excited about the new Java 8 features rather than this book. There are many confusing code examples that are showing what NOT to do but are *not* well labeled. It is easy to go back to the book as a reference and accidentally pick up src from the bad example. Take a lesson from Brian Goetz and Addison-Wesley, use sad face when demonstrating bad code! Also, this book is crammed with code examples however the octopus style back-referencing for explaining src is a total mess and very distracting. At any rate, the final word is: buy the book.
    13 people found this helpful
    Report
  • Reviewed in the United States on October 14, 2014
    Format: PaperbackVerified Purchase
    What makes this book superlative is that the authors used their depth of knowledge to structure this material well. You understand not only what the new language features are, but why they are there. The book does not suffer from dryness, or slow down bogged in details. It explains the high-level perspective and the low-level details of Java 8 in one coherent pass through.

    This is the best book that I've ever read about a programming language or framework or software took. It's perfect. My kudos to the authors. I hope they continue to work together on projects like this.
    2 people found this helpful
    Report
  • Reviewed in the United States on July 10, 2015
    Format: PaperbackVerified Purchase
    Great informative book, I've recommended this to several friends. Coming from .net with many of these features it is not difficult, but it is good to see how java does it, even if it was actually clearer to me in .net I actually learned more of a computer science perspective with this book in terms of the reason for streams and the meaning of terms such as predicate and why the functional interface exists as such. For this CS perspective I give the book five stars.
    3 people found this helpful
    Report
  • Reviewed in the United States on October 6, 2017
    Format: PaperbackVerified Purchase
    Great book if you need one with just the new features added to Java8. One thing I love about Manning books is that once we buy a book, all the electronic versions of it for come for FREE, including the kindle version which I think is awesome as it provides further flexibility for reading the book and makes it easier to incorporate reading into our busy schedule.
    One person found this helpful
    Report
  • Reviewed in the United States on February 21, 2016
    Format: PaperbackVerified Purchase
    I am almost half way through this book. Overall, this is a solid guide to all the new features of Java 8. Each concept is gently introduced and then discussed in detail. There are plenty of quizzes and practice problems along the way to really reinforce all the different ways you can use the powerful new functionality. Highly recommend this book.
    One person found this helpful
    Report

Top reviews from other countries

  • Fernando Farfan
    5.0 out of 5 stars Very Good
    Reviewed in Mexico on February 26, 2019
    Format: PaperbackVerified Purchase
    Good if you need to update yourself in this context.
  • Sam Brown
    5.0 out of 5 stars Well written and practical.
    Reviewed in the United Kingdom on December 15, 2016
    Format: PaperbackVerified Purchase
    Excellent workbook. All the points were very clearly explained and I was able to get up to speed with the new features in Java 8. It took me about two weeks working solidly through the examples and trying them out on the computer to get through the book from cover to cover. I could have dipped in just for those specific parts I was interested in, but I felt that would not be enough. Now I feel I have thoroughly learnt the material. The new lambda features in java 8 and the whole idea of functional programming was foreign at first. I have worked with Object Orientation for so long that functional programming seems alien. This book manages to explain the concepts in a way that I could digest, with concrete examples to keep the information practical. I would highly recommend for java programmers.
  • Emmanuel B.
    5.0 out of 5 stars Really Excellent Book
    Reviewed in France on June 2, 2018
    Format: PaperbackVerified Purchase
    Excellent Book.

    After 4 years of launching à start up and a faillure. I had to come back to software développement.
    It was very hard because I had to notice that a lot of things had changed in the open source area and Aldo in the Java World.

    There is a Big turning point in the Java Language starting with the 8th version. This Book is the nec plus ultra to learn about this turning point.

    This Book helped me a lot.

    Do not just read it like a novel. Please take Time to Study every chapter and practice the examples.

    If you do it you will comfortable with the new functional way of thinkink.
  • Dr. Chrilly Donninger
    5.0 out of 5 stars Das bisher Beste
    Reviewed in Germany on November 22, 2014
    Format: PaperbackVerified Purchase
    Java 8 stellt einen Paradigmenwechsel da. Es wurden zum bisherigen reinen Objekt-Konzept eine mittlere Dosis funktionaler Konstrukte hinzugefügt. Man kann darüber diskutieren ob das die Sprache wirklich so viel besser gemacht hat. Es führt u.A. zur Duplizierung von bisherigen Klasssen und Domains ohne wirklich etwas Neues hinzu zu fügen. Es hat sich nur der Syntactic-Sugar etwas verändert. Aber die Neuerungen sind nun einmal da und man muss sich damit auseinander setzen. Als alter Assembler- und C-Hacker muss ich auch ein bisserl schmunzel. In C gabs immer schon function-pointers. In Assembler gilt natürlich das Motto "anything goes". Die Java Designer haben aber auch ein paar Versionen gebraucht um das gute alte printf() neu zu erfinden.

    Am Anfang enthält das Buch eine Überdosis an Pädagogik. Das liest sich ein bisserl zäh und das präsentierte Beispiel "Bauer mit Äpfel" ist auch ein bisserl eigen. Es folgt jedoch eine sehr detaillierte und interessante Behandlung der neuen Features. Das ist mit Abstand das Beste was ich bisher über Java 8 gelesen habe. Die verwendete Sprache finde ich teilweise etwas schnoddrig. Z.B. wird in einem Diagramm erklärt wie der Compiler den Type einer Expression ermittelt (und man ihn daher weglassen kann). Bei jeden Schritt beginnt die Erklärung mit "Cool. ....". Das Diagramm selbst ist aber durchaus interessant.
    Von diesen kleinen Schwächen abgesehen ist es aber ein durchaus lesenswertes Buch.
  • Yannis Kassios
    5.0 out of 5 stars Covers all topics in depth and explains them very well.
    Reviewed in Canada on October 17, 2019
    Format: PaperbackVerified Purchase
    Excellent book. It covers all topics in depth and explains them very well. It's pleasant to read and goes beyond the mere technical description, to explain the design rationale and the tradeoffs behind all that's new in Java 8.

    At first I had the impression that the authors were trying to sell functional programming as an exciting new feature of Java 8. Reading on, I realized that fortunately this isn't the case.