This book is about Java 9 which is one of the most popular application development languages. The latest released version Java 9 comes with a host of new features and new APIs with lots of ready to use components to build efficient and scalable applications. Streams, parallel and asynchronous processing, multithreading, JSON support, reactive programming, and microservices comprise the hallmark of modern programming and are now fully integrated into the JDK.
So, if you want to take you Java knowledge to another level and want to improve your application's performance, you are in the right path.
Maps are vital for your journey, especially when you're holidaying in another continent. When it comes to learning, a roadmap helps you in giving a definitive path for progressing towards the goal. So, here you're presented with a roadmap before you begin your journey.
This book is meticulously designed and developed in order to empower you with all the right and relevant information on Java. We've created this Learning Path for you that consists of five lessons:
Lesson 1, Learning Java 9 Underlying Performance Improvements, covers the exciting features of Java 9 that will improve your application's performance. It focuses on modular development and its impact on an application's performance.
Lesson 2, Tools for Higher Productivity and Faster Application, describes two new tools added in Java 9--JShell and Ahead-of-Time (AOT) compiler--that boost your productivity and also improve the overall performance of your applications.
Lesson 3, Multithreading and Reactive Programming, shows how to monitor Java applications programmatically using command-line tools. You will also explore how to improve the application performance via multithreading and how to tune the JVM itself after learning about the bottlenecks through monitoring.
Lesson 4, Microservices, describes the solution many leaders of the industry have adopted while addressing flexible scaling under the load. It talks about adding more workers by splitting the application into several microservices, each deployed independently and each using multiple threads and reactive programming for better performance, response, scalability, and fault-tolerance.
Lesson 5, Making Use of New APIs to Improve Your Code, describes improvements in the programming tools, including stream filters, a stack-walking API, the new convenient static factory methods for creating immutable collections, a new powerful CompletableFuture class in support of asynchronous processing, and the JDK 9 stream API improvements.
Familiarize with modular development and its impact on performance
Learn various string-related performance improvements, including compact string and indify string concatenation
Explore various underlying compiler improvements, such as tiered attribution and Ahead-of-Time (AOT) compilation
Learn security manager improvements
Understand enhancements in graphics rasterizers
Use of command-line tools to speed up application development
Learn how to implement multithreading and reactive programming
Build microservices in Java 9
Implement APIs to improve application code