Migrating from Java 8 to Java 11 | Java 11 New Features & Skills

Enhance your Java development skills with our expert-led course, 'Migrating from Java 8 to Java 11', perfect for experienced developers eager to leverage the latest features and best practices in Java 11 programming.

Course Thumbnail

Essential Skills Gained

Checkmark

Develop modular applications using Java 11.

Checkmark

Migrate existing Java 8 applications to Java 11.

Checkmark

Utilize Java 11 tools for monitoring and optimizing applications.

Checkmark

Implement new Java 11 features such as JShell and enhanced API updates.

Format

  • Instructor-led
  • 3 days with lectures and hands-on labs.

Audience

  • Experienced Java 8 Developers
  • Intermediate Java Programmers
  • Software Engineers
  • Technical Leads in Java Development

Description

Migrating from Java 8 to Java 11 is a three-day, hands-on fast-track course geared for developers who have prior hands-on experience working with Java 8, who need to quickly get up and running the latest features introduced in Java 11. Throughout the course students learn the best practices for taking advantage of the new Java Module system as well as other new features in this major update to the Java programming language. The Java 9 update introduced major changes to the core language, including new features such as the Java Module system , the introduction of JShell, as well as several small enhancements to the language as part of the ‘Milling Project Coin’ project. ‘Project Coin’ was introduced during the development of Java 7 to introduce small language changes. Milling Project Coin introduced several enhancements that did not make it into Java 7. This course provides a fast-pace, high-level overview of the some of the lesser-known languages changes that were introduced over the years. Several of these small changes have laid the foundation for the enhancements made in Java 9, 10 and 11.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

Session: Introduction

  1. Introduce the new release cycle of Java versions

  2. Explain LTS versions

Lesson: Milling Project Coin

  1. Overview of changes made to the language throughout the years

  2. Multi-catch

  3. Using effectively final variables in try-with-resources

  4. Suppressed Exceptions

  5. Binary literals

  6. Reserved underscore (Java 9)

  7. Type inference in anonymous classes (Java 9)

  8. @SafeVargs (updates in Java 9)

  9. Default and static methods in interfaces (Java 8)

  10. Private methods in interfaces (Java 9)

Session: Survey of Java 9 Updates

Lesson: Survey of Java 9 Changes

  1. Introduce some of the changes in Java

  2. Java versioning

  3. The JDK/JRE file structure

  4. Deprecation

  5. The jdeprscan tool

  6. Multi-Release JAR Files

  7. HTML 5 compliant Javadoc

Lesson: Collection and Stream Updates

  1. Factory methods for Immutable Collection types

  2. The takeWhile and dropWhile methods

  3. The Stream Iterate and ofNullable methods

Lesson: Java 9 Concurrency Updates

  1. Brief overview of Concurrency in Java

  2. Overview of CompletableFuture (Java 8)

  3. Subclassing the CompletableFuture

  4. The default Executor

  5. New Factory methods

  6. Dealing with time-outs

Lesson: Other New Java Features

  1. Enhancements on the Optional class

  2. Improvements made in the Process API

  3. The Stack-Walking API

  4. The HTTP2 Client

  5. The Multi-Resolution API

Session: The Java Module system (Jigsaw)

Lesson: Why JigSaw?

  1. Problems with Classpath

  2. Encapsulation and the public access modifier

  3. Application memory footprint

  4. Java 8’s compact profile

  5. Using internal JDK APIs

Lesson: Introduction to the Module System

  1. Introduce Project Jigsaw

  2. Classpath and Encapsulation

  3. The JDK internal APIs

  4. Java 9 Platform modules

  5. Defining application modules

  6. Define module dependencies

  7. Implicit dependencies

  8. Implied Readability

  9. Exporting packages

Lesson: The Module Descriptor

  1. Define module requirements

  2. Explain qualified exports

  3. Open modules for reflection

  4. Use ServiceLoader

  5. The provides and uses keywords

Lesson: Working With Modules

  1. Being backwards compatible

  2. The ModulePath and ClassPath

  3. Unnamed Modules

  4. Automatic Modules

  5. The JLink tool

Session: JShell

Lesson: JShell

  1. Introduction to JShell

  2. Running Expressions in JShell

  3. Importing packages

  4. Defining methods and types

  5. Using the JShell editor

  6. Save and loading state

Lesson: Survey of Java 10 updates

Lesson: Survey of Java 10 Changes

  1. Docker Awareness and Support

  2. Unmodifiable Collections

  3. Garbage Collection Enhancements

  4. Application Class Data Sharing

  5. Ahead-of-Time Compilation

Lesson: Local-Variable Type Inference

  1. Type inference

  2. Infering Types of Local Variables

  3. The var Reserved Type name

  4. Benefits of Using var

  5. Backward Compatibilty

Session: Survey of Java 11 updates

Lesson: Survey of Java 11 Changes

  1. Provide an overview of some of the new features introduced in Java 11

  2. The Java versioning scheme

  3. Local-Variable Syntax in Lambdas

  4. Using Regular expression patterns with Predicate

  5. The Collection toArray Method

  6. Unicode 10 Standard

  7. HTTP Client API

  8. Launch Single-File Source-Code Programs

Lesson: Using Strings in Java 11

  1. Working with Strings

  2. Discuss the definition of whitespace in Java

  3. Introduce the new strip() methods of the String class

  4. The isBlank() and repeat() methods introduced in Java 11

  5. Using the lines() method to construct a Stream instance using a String

Lesson: Java 11: Removed Features and Options

  1. Provide an overview of tools and APIs removed

  2. Java EE modules are no longer available in Java 11

Session: HTTP Client API

Lesson: The HTTP Client API

  1. Making HTTP (Hypertext Transfer Protocol) requests

  2. Explain Incubator Modules

  3. HTTP2 Client API

  4. Introduce WebSockets

  5. Communicate with WebSocket endpoints

Session: Additional Topics

Lesson: Memory Management

  1. Understand memory management in Java

  2. Discuss the various garbage collectors

  3. The Garbage-First (G1) Garbage Collector

  4. The No-Op and ZGS Garbage Collectors

Lesson: Performance Optimizations

  1. Ahead-Of-Time Compilation

  2. Hotspot Diagnostic commands

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.