Java 8: The Fundamentals

Java 8: The Fundamentals
by Dane Cameron / / / EPUB


Read Online 246.7 KB Download


Get up and running with the most significant Java release in years. Java 8 has the potential to fundamentally change the way you write Java code. This book is intended to teach existing Java programmers and software engineers the fundamentals of these changes in a couple of afternoons, and leave you with a strong understanding of how you can incorporate these changes into your code. If you are new to Java and would like to learn Java from scratch - including Java 8 - you may want to search for "A Software Engineer Learns Java and Object Orientated Programming" instead. This book contains comprehensive information on all the main additions to the language in Java 8, including: no prior knowledge of lambda expressions are required, this book will walk you through all aspects of lambda expressions, from their construction to their use. the Streams API has the potential to revolutionize the way Java programmers think about processing sets of data. This book will walk you through a variety of use-cases with the Streams API, and look at how the Streams API can be used to perform parallel processing of data. Java 8 makes significant changes to interfaces, allowing interfaces to contain implementation details. This change essentially brings a form of multiple-inheritance to Java, and allows legacy interfaces to be changed without breaking backwards compatibility. Java 8 introduces a whole new Date and Time API based on Joda-time. You will walk through many examples, and look at how the new API differs from the Date and Calendar API we are all familiar with. : JavaScript is now officially part of Java with the inclusion of the Nashorn JavaScript engine. The book will walk through a variety of examples with Nashorn, and look at why you may want to run JavaScript code on the Java Runtime.

views: 790