Learning Patterns Your Source for Quality Technology Courseware

Java Modules and Other New Features (to Java 11)

Java’s new release cycle introduces new features at a rapid pace. This course covers the important new features of Java 9 through Java 11. It starts with coverage of Java 9 modules, which are a core change in how Java finds the libraries it needs. It goes on to cover the many significant improvements that are present in these releases.

This concise course is focused on introducing the new capabilities and how to use them. It includes numerous code examples and programming labs that illustrate all of the new capabilities.

The course is hands on, and requires that students be comfortable with writing general Java code at an intermediate level.

Course Information:

Availability: COMING SOON

Course Code: J11NEW

Price: $ 150

Duration: 2 days

Labs: many hands-on labs (minimum 50% of course)

Prerequisites: Working knowledge of Java programming, including use of inheritance, interfaces, and exceptions

Supported Software Environments:

Course Objectives:

  • Understand the release cycle and Long Term Support (LTS) releases
  • Understand, create, and use modules (introduced in Java 9)
  • Migrating to modules - working with jars and classpath
  • Be familiar with and use JShell - the Java Read-Eval-Print-Loop (REPL)
  • Understand and use Local-Variable type inference (Java 10), and Local-Variable syntax for lambda parameters (Java 11)
  • Be familiar with and use the HttpClient (Java 9-11)
  • Use the enhancements to the Collection API (Java 9,10)
  • Be familiar with other significant smaller enhancements/additions
  • Be familiar with significant deprecated and removed features

Course Outline:

  • Session 1: Introduction
    • New Java Release Cycle
    • Java 9 Overview
    • Java 10 Overview
    • Java 11 Overview
  • Session 2: Working with Java 9 Modules
    • ClassPath Shortcomings
    • Introduction to Java 9 Modules
    • Module Descriptors, requires, exports
    • Types of modules
    • Creating and Using Modules
    • Migration - Working with Jars and Classpath
    • Services
  • Session 3: JShell - a Java Read-Eval-Print Loop (REPL)
    • Introduction to JShell
    • Evaluating Code (Snippets)
    • Using Libraries (Modules, Jars, etc.)
    • Other JShell Capabilities (Commands, Scripts, etc.)
  • Session 4: Type Inference
    • Local-Variable Type Inference
    • Brief Overview of Lambdas
    • Local-Variable Syntax for Lambdas
  • Session 5: HttpClient
    • Overview
    • API
    • Usage and Features
  • Session 6: API Changes/Additions
    • Collections
    • String
    • Other API Changes
    • Deprecated/Removed Features
  • Session 7: Other Capabilities
    • Overview of Other Changes