Hot Best Seller

Java 8 in Action

Availability: Ready to download

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!


Compare

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!

30 review for Java 8 in Action

  1. 5 out of 5

    Christian Roman Rua

    Great book to take your first steps on Java 8. The language had a great deal of changes for this version that when you read code written in Java 8 and you re not aware about Lambdas and Streams, it will seem a different language than the old good Java. I recommend this book to any programmer that likes to keep himself updated with the new things that Java has to offer nowadays; there are many interesting and easy to understand examples that will make your reading and learning experience quite smoo Great book to take your first steps on Java 8. The language had a great deal of changes for this version that when you read code written in Java 8 and you re not aware about Lambdas and Streams, it will seem a different language than the old good Java. I recommend this book to any programmer that likes to keep himself updated with the new things that Java has to offer nowadays; there are many interesting and easy to understand examples that will make your reading and learning experience quite smooth.

  2. 5 out of 5

    Stanley Kubasek

    Very good java book. A bit wordy, one of the best java books out there. Great coverage on all new java8 features.

  3. 4 out of 5

    Krishna Chaitanya

    Excellent material, if you want to have a good grasp of Java 8 features in one book then this is it. I've seriously wanted to learn java 8's Lamda features because it introduced functional style programming in Object-Oriented Java, I've completed few online courses on Java 8 though they were good but not in-depth. That missing feeling is vanished after reading this book. The concepts are clearly explained with detailed examples also by stating and explaining underlying design and classes. This book Excellent material, if you want to have a good grasp of Java 8 features in one book then this is it. I've seriously wanted to learn java 8's Lamda features because it introduced functional style programming in Object-Oriented Java, I've completed few online courses on Java 8 though they were good but not in-depth. That missing feeling is vanished after reading this book. The concepts are clearly explained with detailed examples also by stating and explaining underlying design and classes. This book also includes refactoring the legacy code to Java 8 which is super helpful if you're working on a legacy Java project. The exercises are challenging enough to put your learning into practice. I highly recommend this if you want solid understanding of Java 8 features.

  4. 5 out of 5

    Michael Koltsov

    Rarely, I want to purchase a book I've read as a hard copy. I wanted to buy this book badly. Only after checking the cost of this book in Poland I realized that at a price of yearly subscription to Safari Books buying a huge pile of dead wood is not wise enough for me. I had a huge gap in my Java experience due to the fact that I've made a switch to Scala and then to other languages most of them had nothing to do with JVM. Javascript, Ruby, Python, GO... you name it, I was paid to write in it most Rarely, I want to purchase a book I've read as a hard copy. I wanted to buy this book badly. Only after checking the cost of this book in Poland I realized that at a price of yearly subscription to Safari Books buying a huge pile of dead wood is not wise enough for me. I had a huge gap in my Java experience due to the fact that I've made a switch to Scala and then to other languages most of them had nothing to do with JVM. Javascript, Ruby, Python, GO... you name it, I was paid to write in it mostly thanks to my employers' kindness and not because of any particularly need. The main reason why I've switched from Java to Scala was that the latter felt much sexier with lots of syntactic sugar and nice FP abstractions that felt much closer than the monstrosity I often saw in the java projects I wad to work on. Did I also mention that one of the first programming languages I've learned was LISP? Functional programming was a big part of my education. And then after all these years I started to see a gradual change in the way way how the Java code is written that felt similar to Scala but without the complexity that it had. Especially, after loosing all my illusions with GO I decided to give new Java a try. I played a bit with streams and lambdas, but neither could I understand how their worked nor use them efficiently. This book allowed me to fill this gap. If you're coming from Java 6 & 7 this book is a must for you. Lots of example, detailed explanations with multiple peeks under the covers of JVM. The only minor issue is that after changing the release policy Java went quite far from the changes that are described in this book. Too bad this book isn't updated after every new Java version goes GA

  5. 5 out of 5

    Pat Wanjau

    This is a great book for anyone who has previous understanding of Java below 8. It's focused on working with both Object Oriented Programming and Functional Programming. Parts 1 - 3 cover the new features of the language while the fourth is about functional programming. For those who have experience in Scala, the examples in this section are for both Java and Scala. I've been using Java in my day to day activities since the year 2010. This book has now introduced me to the functional world with J This is a great book for anyone who has previous understanding of Java below 8. It's focused on working with both Object Oriented Programming and Functional Programming. Parts 1 - 3 cover the new features of the language while the fourth is about functional programming. For those who have experience in Scala, the examples in this section are for both Java and Scala. I've been using Java in my day to day activities since the year 2010. This book has now introduced me to the functional world with Java, after using Scala for a while. I strongly recommend this book to those developers who want to understand functional programming or to those that already know it but want to be up to date with Java 8.

  6. 5 out of 5

    Zbyszek Sokolowski

    The book is pretty decent. It differs from chapter to chapter. Yes it couldbe better, some parts are very good and makes good reading and education while some examples are too convoluted and academic. I think that the book would be better if provided examples would be even easier. Those should be less showing authors brilliance and more didactic. I think that questionable is to move description of new Java features to appendix and instead of it discuss Scala. I like chapters regarding Completabl The book is pretty decent. It differs from chapter to chapter. Yes it couldbe better, some parts are very good and makes good reading and education while some examples are too convoluted and academic. I think that the book would be better if provided examples would be even easier. Those should be less showing authors brilliance and more didactic. I think that questionable is to move description of new Java features to appendix and instead of it discuss Scala. I like chapters regarding CompletableFuture. For sure I will return to some covered subjects and then read some chapters again.

  7. 5 out of 5

    Xanan

    Complete, accurate and comprehensive. This is not a book on Java programming that happens to describe Java 8 features as well. It focuses only on Java 8 new features and Java programming expected. Streams and lambda expressions take up most of the book but interface default methods, the new Date/Time API, Optional and CompletableFuture are also discussed adequately. Topics are introduced gently and discussed comprehensively and thoroughly.

  8. 5 out of 5

    Jean Tessier

    I had been coding in Groovy for the previous 10 years and I needed to get up to speed on the new Java idioms, like lambdas and streams. The book does a good job of covering the Stream API and how it benefit from lambdas and method references. I like how it can infer the functional interface of a lambda expression based on context (see Figure 3.5 on page 67). It is an interesting alternative to the more loosely typed approach in Groovy. I find it interesting how streams use a lazy implementation an I had been coding in Groovy for the previous 10 years and I needed to get up to speed on the new Java idioms, like lambdas and streams. The book does a good job of covering the Stream API and how it benefit from lambdas and method references. I like how it can infer the functional interface of a lambda expression based on context (see Figure 3.5 on page 67). It is an interesting alternative to the more loosely typed approach in Groovy. I find it interesting how streams use a lazy implementation and how their pipelines are demand-driven. It makes infinite streams possible, with iterate (takes a UnaryFunction) and generate (takes a Supplier) variations. It does make it more difficult to have one pipeline compute multiple results, though. I couldn't find a justification as to why there are specialized versions for int, long, and double, but for float (or byte, for that matter). The contracts for Collector and Spliterator are rather complex. I'm not keen on using Optional all over the place, especially in light of Groovy's null-safe dereferencing operators ?. and .*. It does help with creating call chains, but the mental load is quite severe. Combine it with CompleteableFuture and you have to think really hard about what is going on for every method call. All these new APIs rely a lot on static helper methods. I'd need some actual practice using them to understand better how to unit test code that's using them. I was hopeful for the Flow API and reactive programming, but there is still a lot of wiring up to do. I was hoping for something closer to event-based models where publishers and subscribers don't know about each other, and how you can get temporal decoupling too, where they don't have to be available at the same time. I don't see the need for the Java module system at this time. The parts on functional programming were interesting, but I wouldn't want to do it in Java. Functional languages handle these concepts much better. Still, in order to use streams well, you need to know about pure functions and write code with no side-effects. The authors very frequently refer back to previous sections. It gets a little annoying after a while. But I can see how it can be helpful if someone starts reading in the middle of the book, chasing after a specific topic, for them to understand where the current context is coming from. The tone can seem at times a little condescending towards more theoretical approaches, like pure mathematics. It definitely favors more practical experimentations. One quick quote that gave me pause: Programmer efficiency is often more important than small differences in execution time. p. 458 This is dangerous advice if you don't give more context. How often is that code executed? How critical is it for its enclosing code to be responsive? I agree that 90% of the time, programmer efficiency will win. But you must not lose sight of that other 10%.

  9. 5 out of 5

    Gediminas

    Great for novices to read, good for professionals to flip through I have a good command of Java 8 features, so I flipped through the parts I knew already (which seemed well explained) - took me several hours to read at most. It seems like a good intro to functional style Java, as well as other new features introduced in Java 8. A significant part is also dedicated to functional programming style in Java and Scala languages, as well as likely language features to come in future releases - these part Great for novices to read, good for professionals to flip through I have a good command of Java 8 features, so I flipped through the parts I knew already (which seemed well explained) - took me several hours to read at most. It seems like a good intro to functional style Java, as well as other new features introduced in Java 8. A significant part is also dedicated to functional programming style in Java and Scala languages, as well as likely language features to come in future releases - these parts were the most interesting for me.

  10. 4 out of 5

    Miloš Milivojević

    Even though I've been working with Java 8 for some 2 years (almost 3 if you count playi g around with the developer preview version) I still found this book to be an excellent guide to working with Java 8. There's lots of great examples and in-depth explanations of all the inner workings of both lambdas and streams. The author is also a convincing FP evangelist, making me want to return to learning Scala again.

  11. 5 out of 5

    Daniel Dent

    I can't help but think this book could've been easier to grasp with better flow. For example, Functional Interfaces are never really dived into making Streams much harder to understand. I for sure learned a lot with this book but there must be better book out there on Java 8.

  12. 4 out of 5

    Scott King

    Here is my review on Amazon: http://amzn.to/1s0UGI7 Here is my review on Amazon: http://amzn.to/1s0UGI7

  13. 4 out of 5

    Marcin

    Completely unnecessary are chapters about Scala - even though they are extremely informative.

  14. 5 out of 5

    Daren Thomas

    This book was informative and technically sound with a nice mix of explanation and examples. Personally I liked that the code listings were large enough to illustrate the topic, but not so large they needed to be separate from the book. Sometimes it's nice to have everything in one place (i.e. on the paper in front of you). Overall it was well written and has earned a place on my reference shelf. My only (minor) complaint is that the book is a little verbose at times. I found that a little ironi This book was informative and technically sound with a nice mix of explanation and examples. Personally I liked that the code listings were large enough to illustrate the topic, but not so large they needed to be separate from the book. Sometimes it's nice to have everything in one place (i.e. on the paper in front of you). Overall it was well written and has earned a place on my reference shelf. My only (minor) complaint is that the book is a little verbose at times. I found that a little ironic considering a major benefit of Lambdas is reducing verbosity in code.

  15. 4 out of 5

    Akash Goel

    Probably the most engaging text on a programming language that I've read. The authors present a lot of use cases and give simple examples, making it blissfully simple to understand the concepts of Java 8 to even beginner Java programmers like me. I would recommend this in a heartbeat to anyone who's a programmer, but new to Java.

  16. 4 out of 5

    Krupali

    Reading a Technical book can be fun Too! Starting from a brief explanation of a feature, why it came into picture and how you should use it as a professional, provided with examples; each chapter contains an excellent guide of leveraging new features while following programming conventions and standards.

  17. 5 out of 5

    Lukasz

    Very comprehensive and easy to read introduction to Java 8 and couple other features that were introduced lately. Great for people actually know Java, but want to update their knowledge with stuff that every Java developer should know.

  18. 5 out of 5

    Anna

    Great explanation of streams, lambdas, optionals and completable futures. Would highly recommend as a brief introduction to functional programming. Also great for anyone willing to catch up on one of the most important updates for the Java language.

  19. 5 out of 5

    Dariusz Mydlarz

    Even though Java 8 is with us for a couple of years it is still worth to go deeper into details. This book is a great resource to do so. I mostly liked the chapter about parallel data processing and performance.

  20. 5 out of 5

    David Miller

    I read the earlier edition of this book, which was titled "Java 8 in Action". This edition covers some topics from Java 9, and expands coverage of reactive programming. Overall a pretty good introduction to the language, concentrating on streams, lambdas, and functional-style programming.

  21. 5 out of 5

    Yazan

    Very balanced coverage of Java 8 features, not to shallow to be useless for an experienced developer but not too deep that it becomes a book about functional programming or concurrency.

  22. 4 out of 5

    Michał

    Very good introduction to Java8, easy to read. Written in a convenient way, I was not hammered with pure theoretical definitions, but get good examples. I recommend this position.

  23. 4 out of 5

    Andrzej Szelemetko

    A hands-on introduction to the new Java 8 features. Beginning with lambadas and going all the way through each new concept, including streams, optionals, default methods, completable future, new date api. Each concept is well explained and compared to 'the old way' of coding. There is a dedicated chapter showing how to refactor existing pre-Java 8 code using the new Java features. This book is not recommended for someone who just starts his adventure with programming. It's good to have some worki A hands-on introduction to the new Java 8 features. Beginning with lambadas and going all the way through each new concept, including streams, optionals, default methods, completable future, new date api. Each concept is well explained and compared to 'the old way' of coding. There is a dedicated chapter showing how to refactor existing pre-Java 8 code using the new Java features. This book is not recommended for someone who just starts his adventure with programming. It's good to have some working knowledge of Java before reaching for this book.

  24. 5 out of 5

    Rituraj Gupta

    just interesting story description and basic concept explained very well.

  25. 4 out of 5

    Valery Lukin

    Amazing book that describes all java 8 new features in really good and approachable way. Recommend it to anyone who wants to clear all the gaps of java 8 they have right now.

  26. 5 out of 5

    Hosein

    I can only recommend this book. The best book for the ones who want to jump into Java 8+ features. With lots of examples and we'll described. Loved it

  27. 5 out of 5

    Nomad

    This book is great in a way it covers all major java8 features in great detail. My favorite chapters were the ones in appendix: how java8 implements the new features under the hood. I wish there was more of that in the book, and less of "you do not need to understand it just yet".

  28. 5 out of 5

    Akash Jain

    Great book

  29. 5 out of 5

    Hussein Elsayed

    A really nice book that I recommend everyone who uses Java 8, 9 to read to understand the motivation behind the new features added in Java 8, 9, ... and a decent comparison between Java and other functional style languages such as Scala. The chapters are actually ordered in a way where you always feel that you want to read more, and if you are an experienced Java developer, you will be surprised how fast you will finish this book and enjoy every single part of it. Kudos to the authors and their wr A really nice book that I recommend everyone who uses Java 8, 9 to read to understand the motivation behind the new features added in Java 8, 9, ... and a decent comparison between Java and other functional style languages such as Scala. The chapters are actually ordered in a way where you always feel that you want to read more, and if you are an experienced Java developer, you will be surprised how fast you will finish this book and enjoy every single part of it. Kudos to the authors and their writing style, I admired their style and will of course follow them to read more books written by anyone of them.

  30. 4 out of 5

    Prakash

    A comprehensive overview of Java 8. Covers small things like CompletableFuture and Optionals which made me pick this up. However when it comes to slightly more complex topics, I think you can find better explanations elsewhere. For example the method references topic was explained better by Venkat Subramaniam in an online talk. (so probably in his book as well) The examples could have been better. They were dull and very uninteresting.

Add a review

Your email address will not be published. Required fields are marked *

Loading...
We use cookies to give you the best online experience. By using our website you agree to our use of cookies in accordance with our cookie policy.