Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By : Tatiana Fesenko
Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By: Tatiana Fesenko

Overview of this book

As a developer, every day you need to learn new technologies… and quickly. With frequent Java releases, you need to constantly update your knowledge of Java too. This short course will equip you with insights into the newest key features of Java—in no time. We start by explaining the new release model and how it affects you. This course goes beyond Java's (in) famous modularity which allows us to partition a system into modules with clear dependencies. You'll learn to write more concise code with the coolest new features, including local variable type inference (var) and the improved API for strings, files and collections. You will also understand how to work with very popular reactive streams. The course finishes with a description of the new enhancements you can apply to improve the performance of your code. By the end of this short course, you'll know how to use the most powerful features of modern Java to write faster and more readable programs. All the code files and other files are placed on GitHub at this link https://github.com/PacktPublishing/Java-SE-New-Features-Covers-Versions-9-10-11-and-12
Table of Contents (3 chapters)
Chapter 2
Better Java
Content Locked
Section 2
Reactive Programming Is Finally in the Core Java: The New Java Flow API
When different popular frameworks supporting reactive streams emerged, they were not sharing the same interfaces making migrating tedious and the learning curve steeper. The new interfaces from the Flow class provide a golden standard for reactive streams to be supported by these frameworks. - Get a high-level overview of reactive programming - Learn how to implement a simple publisher and a subscriber - Add a second subscriber to the publisher