Buy new: -54% $23.10$23.10 FREE delivery Tuesday, March 31 on orders shipped by Amazon over $35 Ships from: Amazon Sold by: TRIO ALLIANCE
Save with Used - Very Good $8.79$8.79 FREE delivery Monday, March 30 on orders shipped by Amazon over $35 Ships from: Amazon Sold by: Burlington MA- Used Book Superstore -new books too
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.
Follow the authors
OK
Java 8 in Action: Lambdas, streams, and functional-style programming 1st Edition
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
PART 1 FUNDAMENTALS
- Java 8: why should you care?
- Passing code with behavior parameterization
- Lambda expressions
PART 2 FUNCTIONAL-STYLE DATA PROCESSING
- Introducing streams
- Working with streams
- Collecting data with streams
- Parallel data processing and performance
PART 3 EFFECTIVE JAVA 8 PROGRAMMING
- Refactoring, testing, and debugging
- Default methods
- Using Optional as a better alternative to null
- CompletableFuture: composable asynchronousprogramming
- New Date and Time API
PART 4 BEYOND JAVA 8
- Thinking functionally
- Functional programming techniques
- Blending OOP and FP: comparing Java 8 and Scala
- Conclusions and where next for Java
APPENDIXES
- Miscellaneous language updates
- Miscellaneous library updates
- Performing multiple operations in parallelon a stream
- Lambdas and JVM bytecode
- ISBN-101617291994
- ISBN-13978-1617291999
- Edition1st
- PublisherManning Pubns Co
- Publication dateJanuary 1, 2014
- LanguageEnglish
- Dimensions7.25 x 1 x 9 inches
- Print length394 pages
There is a newer edition of this item:
$50.43
(208)
Only 11 left in stock (more on the way).
Frequently bought together

Similar items that may deliver to you quickly
Modern Java in Action: Lambdas, streams, functional and reactive programmingPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Mar 29Only 11 left in stock (more on the way).
Java 8 Lambdas: Functional Programming For The MassesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Mar 29Only 1 left in stock - order soon.
Java Lambdas : Introduction to Java 8 Functional ProgrammingNathanael NachengaPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Mar 29
Programming C# 12: Build Cloud, Web, and Desktop ApplicationsPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Mar 29Only 4 left in stock (more on the way).
Functional Programming in KotlinPaperbackFREE Shipping by AmazonGet it as soon as Monday, Mar 30Only 4 left in stock (more on the way).
Customers also bought or read
- Head First Java: A Brain-Friendly Guide#1 Best SellerBeginner's Guides to Java Programming
Paperback$43.99$43.99FREE delivery Sun, Mar 29 - Data Structures in Java: Top 100 Programming Questions and Solutions
Paperback$17.94$17.94Delivery Sun, Mar 29
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
- Publisher : Manning Pubns Co
- Publication date : January 1, 2014
- Edition : 1st
- Language : English
- Print length : 394 pages
- ISBN-10 : 1617291994
- ISBN-13 : 978-1617291999
- Item Weight : 1.62 pounds
- Dimensions : 7.25 x 1 x 9 inches
- Best Sellers Rank: #1,551,164 in Books (See Top 100 in Books)
- #264 in Java Programming
- #683 in Data Processing
- #1,348 in Computer Programming Languages
- Customer Reviews:
About the authors

Discover more of the author’s books, see similar authors, read book recommendations and more.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Raoul-Gabriel Urma is a PhD candidate in Computer Science at the University of Cambridge. He is co-author of the book Java 8 in Action: lambdas, streams, and functional-style programming published by Manning. In addition, Raoul has written over 10 peer-reviewed articles, delivered over 20 technical talks at international conferences and is a professional Java trainer. He has worked for large companies such as Google, eBay, Oracle, and Goldman Sachs, as well as for several startup projects. Raoul is also a Fellow of the Royal Society of Arts.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on September 15, 2015Format: PaperbackVerified PurchaseWhat 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.
- Reviewed in the United States on January 4, 2015Format: PaperbackVerified PurchaseThis 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
- Reviewed in the United States on December 18, 2016Format: PaperbackVerified PurchaseI 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.
- Reviewed in the United States on February 1, 2015Format: PaperbackVerified PurchaseNot 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.
- Reviewed in the United States on October 14, 2014Format: PaperbackVerified PurchaseWhat 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.
- Reviewed in the United States on July 10, 2015Format: PaperbackVerified PurchaseGreat 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.
- Reviewed in the United States on October 6, 2017Format: PaperbackVerified PurchaseGreat 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.
- Reviewed in the United States on February 21, 2016Format: PaperbackVerified PurchaseI 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.
Top reviews from other countries
Fernando FarfanReviewed in Mexico on February 26, 20195.0 out of 5 stars Very Good
Format: PaperbackVerified PurchaseGood if you need to update yourself in this context.
Sam BrownReviewed in the United Kingdom on December 15, 20165.0 out of 5 stars Well written and practical.
Format: PaperbackVerified PurchaseExcellent 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.Reviewed in France on June 2, 20185.0 out of 5 stars Really Excellent Book
Format: PaperbackVerified PurchaseExcellent 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 DonningerReviewed in Germany on November 22, 20145.0 out of 5 stars Das bisher Beste
Format: PaperbackVerified PurchaseJava 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 KassiosReviewed in Canada on October 17, 20195.0 out of 5 stars Covers all topics in depth and explains them very well.
Format: PaperbackVerified PurchaseExcellent 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.






![Computer Networking Bible: [3 in 1] The Complete Crash Course to Effectively Design, Implement and Manage Networks. Including Sections on Security, Performance and Scalability](https://m.media-amazon.com/images/I/41H4YJnxKgL._AC_SR100,100_QL65_.jpg)


