JA02 - Java 9 New Features - 1 Day

View Dates and Locations

Course Description

Oracle recently released Java 9. This course covers many of the main features of this exciting new platform.


Pre-requisites

Good experience in Java SE 8


Objectives

What you will learn:

  • Understand and use Java Language enhancements
  • Use JShell
  • Understand JVM enhancements
  • Use Java Platform Module System enhancements
  • Use improved Javadoc features

Customisation

For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.

On-site course enquiry (from £165 pp per day)

Course Details

Java Language Enhancements
Allow @SafeVargs on private instance methods.
Allow effectively final variables to be used as resources in the try-with-resources statement.
Allow the diamond with anonymous classes if the argument type of the inferred type is denotable.
Complete the removal, begun in Java SE 8, of the underscore from the set of legal identifier names.
support for private interface methods
Stream API improvements
Private interface methods
HTTP/2 Support

JShell
Introduction to JShell
Why Use JShell?
Starting and Stopping JShell
Trying Out Snippets
Changing Definitions
Forward References
Exceptions
Tab Completion for Snippets
Snippet Transformation
Introduction to Commands
Command Abbreviations
Shell Editing
External Editor
Setting the Class Path
Setting Module Options
Setting the Feedback Mode
Startup Scripts

JVM Enhancements
Compiler Control
Segmented Code Cache
Dynamic Linking of Language-Defined Object Models
Multi-release JARs

Java Platform Module System
Module System
The Modular JDK
Modular Run-Time Images
Encapsulate Most Internal APIs
New Version-String Scheme

Improved Javadoc
Simplified Doclet API
HTML5 Javadoc
Javadoc Search
Module System


Availability

Course Enquiry