Java9 New Features - Learn by coding it
Offered By: Udemy
Course Description
Overview
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 : -
Private Methods in Interfaces
Diamond Operator Enhancements
Try With Resources Enhancements
SafeVarargs Annotation Enhancements
Factory Methods for Creating unmodifiable Collections
Stream API Enhancements
The Java Shell(RPEL)
The Java Platform Module System(JPMS)
JLINK(JAVA LINKER)
Process API Updates
HTTP/2 Client
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.
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.
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.
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.
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.
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.
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 9LinkedIn 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