YoVDO

Java9 New Features - Learn by coding it

Offered By: Udemy

Tags

Java Courses Stream API Courses JShell Courses

Course Description

Overview

Understand the new features in Java 9

What you'll learn:
  • You will get better understanding about JAVA9
  • Able to start coding once completed this course
  • Java Shell - Learn about jShell
  • Java 9 Platform Module System (JPMS)
  • Stream API Enhancement in Java9
  • Interface changes in Java9
  • Factory Methods in Java9
  • Try with Resources
  • Diamond Operator
  • Usage of SafeVarArgs
  • Process API changes in Java9
  • Http2 Client Enhancement

You will get better understanding about new features introduced in Java9 and new enhancement to existing concepts.

The following topics discussed in detail. Java 7 and 8 features also explained based on requirement.

Hence students not familiar with old versions will be able to understand the new changes.


Topics : -

  1. Private Methods in Interfaces

  2. Diamond Operator Enhancements

  3. Try With Resources Enhancements

  4. SafeVarargs Annotation Enhancements

  5. Factory Methods for Creating unmodifiable Collections

  6. Stream API Enhancements

  7. The Java Shell(RPEL)

  8. The Java Platform Module System(JPMS)

  9. JLINK(JAVA LINKER)

  10. Process API Updates

  11. HTTP/2 Client

  1. Module System (Project Jigsaw): One of the most prominent features in Java 9 is the introduction of the module system, also known as Project Jigsaw. This modularization allows developers to create modular and scalable applications by encapsulating code into modules. This helps in better modularization of the JDK itself and simplifies the development, maintenance, and deployment of large-scale applications.

  2. JShell (Interactive REPL): Java 9 introduced JShell, which is an interactive REPL (Read-Eval-Print Loop) tool. It enables developers to execute Java code snippets and expressions interactively without the need to create a full-fledged Java class. JShell provides a quick and easy way to experiment with code and test ideas.

  3. Improved Process API: Java 9 enhanced the Process API, making it more flexible and powerful. The ProcessBuilder class now has new methods to start and manage processes more effectively. Additionally, the introduction of the ProcessHandle class allows developers to access and monitor information about native processes.

  4. HTTP/2 Client: Java 9 included a new HTTP client that supports HTTP/2, providing a more modern and efficient way to send and receive HTTP requests. The new API is designed to be asynchronous and supports features like multiplexing, allowing multiple requests and responses to be sent concurrently over a single connection.

  5. Multi-Release JARs: Java 9 introduced support for multi-release JAR files, which allows developers to include different versions of class files for different Java platform versions within a single JAR. This helps in creating libraries or applications that can take advantage of features specific to different Java versions.

  6. Enhanced @Deprecated Annotation: The @Deprecated annotation was enhanced in Java 9 to include information about when the deprecated element was scheduled for removal. This additional information helps developers understand the deprecation timeline.

  7. Other Improvements and Updates: Java 9 also included various other improvements, optimizations, and updates, such as new methods in existing classes, improved garbage collection, and updates to the java.util.concurrent package



Taught by

Arun Ammasai

Related Courses

First Look: Java 9
LinkedIn Learning
Java 11+ Essential Training
LinkedIn Learning
Java 9 New Features In Simple Way : JShell, JPMS and More
Udemy
Learning Java using JShell
Udemy
What's New in Java 9 - Modules and More!
Udemy