Java: High-Performance Apps with Java 9

Optimize the powerful techniques of Java 9 to boost your application's performance
Preview in Mapt

Java: High-Performance Apps with Java 9

Mayur Ramgir, Nick Samoylov
New Release!

Optimize the powerful techniques of Java 9 to boost your application's performance
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $31.99
Save 68%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Java: High-Performance Apps with Java 9 Book Cover
Java: High-Performance Apps with Java 9
$ 31.99
$ 10.00
Java 9 High Performance Book Cover
Java 9 High Performance
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $51.98
Add to Cart

Book Details

ISBN 139781789130515
Paperback194 pages

Book Description

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.

This book focuses on providing quick, practical solutions to enhance your application's performance. You will explore the new features, APIs, and various tools added in Java 9 that help to speed up the development process. You will learn about jshell, Ahead-of-Time (AOT) compilation, and the basic threads related topics including sizing and synchronization. You will also explore various strategies for building microservices including container-less, self-contained, and in-container.

This book is ideal for developers who would like to build reliable and high-performance applications with Java.

This book is embedded with useful assessments that will help you revise the concepts you have learned in this book.

Table of Contents

Chapter 1: Learning Java 9 Underlying Performance Improvements
Introducing the New Features of Java 9
Modular Development and Its Impact
String Operations Performance
Storing Interned Strings in CDS Archives
Concurrency Performance
Compiler Improvements
Security Manager Improvements
Graphics Rasterizers
Summary
Assessments
Chapter 2: Tools for Higher Productivity and Faster Application
The JShell Tool Usage
Ahead-of-Time (AOT)
Summary
Assessments
Chapter 3: Multithreading and Reactive Programming
Prerequisites
Thread Pools
Monitoring Threads
Sizing Thread Pool Executors
Thread Synchronization
Tuning JVM
Reactive Programming
Summary
Assessments
Chapter 4: Microservices
Why Microservices?
Building Microservices
Container-Less Deployment
Self-Contained Microservices
In-Container Deployment
Summary
Assessments
Chapter 5: Making Use of New APIs to Improve Your Code
Filtering Streams
Stack-Walking APIs
Convenience Factory Methods for Collections
CompletableFuture in Support of Asynchronous Processing
Stream API Improvements
Summary
Assessments

What You Will Learn

  • Familiarize with modular development and its impact on performance
  • Learn various string-related performance improvements, including compact string and modify 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

Authors

Table of Contents

Chapter 1: Learning Java 9 Underlying Performance Improvements
Introducing the New Features of Java 9
Modular Development and Its Impact
String Operations Performance
Storing Interned Strings in CDS Archives
Concurrency Performance
Compiler Improvements
Security Manager Improvements
Graphics Rasterizers
Summary
Assessments
Chapter 2: Tools for Higher Productivity and Faster Application
The JShell Tool Usage
Ahead-of-Time (AOT)
Summary
Assessments
Chapter 3: Multithreading and Reactive Programming
Prerequisites
Thread Pools
Monitoring Threads
Sizing Thread Pool Executors
Thread Synchronization
Tuning JVM
Reactive Programming
Summary
Assessments
Chapter 4: Microservices
Why Microservices?
Building Microservices
Container-Less Deployment
Self-Contained Microservices
In-Container Deployment
Summary
Assessments
Chapter 5: Making Use of New APIs to Improve Your Code
Filtering Streams
Stack-Walking APIs
Convenience Factory Methods for Collections
CompletableFuture in Support of Asynchronous Processing
Stream API Improvements
Summary
Assessments

Book Details

ISBN 139781789130515
Paperback194 pages
Read More

Read More Reviews

Recommended for You

Java 9 High Performance Book Cover
Java 9 High Performance
$ 39.99
$ 10.00
Writing High Performance Java Application in Java 9 [Video] Book Cover
Writing High Performance Java Application in Java 9 [Video]
$ 124.99
$ 10.00
Java EE 8 High Performance Book Cover
Java EE 8 High Performance
$ 39.99
$ 10.00
Hands-On Enterprise Application Development with Java 9 [Video] Book Cover
Hands-On Enterprise Application Development with Java 9 [Video]
$ 124.99
$ 10.00
Getting Started with Clean Code Java SE 9 [Video] Book Cover
Getting Started with Clean Code Java SE 9 [Video]
$ 124.99
$ 10.00
High Performance Applications with C++ [Video] Book Cover
High Performance Applications with C++ [Video]
$ 124.99
$ 10.00