Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Java 21 - Exploring the Latest Innovations for 2024

Packt via Coursera

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Discover the cutting-edge features of Java 21 and unlock new development possibilities in 2024. This course offers an in-depth exploration of the latest Java Enhancement Proposals (JEPs), including advanced programming constructs, performance optimizations, and enhanced concurrency management. By the end, you’ll have a robust understanding of Java 21’s transformative capabilities. Starting with an overview of Java 21 and prerequisites, you’ll set up your development environment on both Windows and macOS, optimizing your IDE for efficient coding. From there, you’ll dive into Java 21’s innovations such as unnamed classes, enhanced pattern matching, and record patterns. With practical hands-on exercises, you’ll solidify these concepts through direct application. The course further delves into advanced topics like the Vector API, scoped values, virtual threads, and structured concurrency. You’ll also explore memory management enhancements with Generational ZGC, cryptographic advancements via Key Encapsulation Mechanisms (KEM), and native library integration through the Foreign Function and Memory API. Designed for Java developers seeking to elevate their skills, this course is ideal for professionals familiar with Java 17 or earlier versions. A basic understanding of Java fundamentals is recommended to fully benefit from this intermediate-level course.

Syllabus

  • Introduction
    • In this module, we will set the stage for the course by outlining the prerequisites, revisiting essential Java concepts, and introducing Java Enhancement Proposals (JEPs) that shape the innovations in Java 21.
  • Development Machine Setup (Win and MacOS)
    • In this module, we will guide you through setting up your development environment on Windows and MacOS, including SDKman, Java 21, and Visual Studio Code IDE. By the end, you'll be ready to dive into hands-on Java development.
  • Java 21 Enhancement Features - Deep Dive
    • In this module, we will explore the powerful new features of Java 21, such as unnamed classes, pattern matching, and unnamed variables. You'll practice using these innovations through interactive hands-on sessions.
  • String Templates & Sequenced Collections
    • In this module, we will dive into string templates and sequenced collections, two key features of Java 21 that simplify string operations and collection management. You'll solidify your skills through hands-on coding sessions.
  • Record Patterns - Deep Dive
    • In this module, we will focus on record patterns, examining how they transform Java's approach to data modeling and pattern matching. Through hands-on examples, you'll master their usage in real-world scenarios.
  • Generational ZGC - Overview
    • In this module, we will explore the generational ZGC, a major improvement in Java's garbage collection mechanism. You'll understand its benefits and its potential to enhance performance in modern applications.
  • Virtual Threads
    • In this module, we will introduce virtual threads, a game-changing feature in Java 21. You'll gain hands-on experience with virtual threads, learning how to simplify concurrent programming and boost scalability.
  • Scoped Values Vs ThreadLocal - An Overview
    • In this module, we will compare scoped values with ThreadLocal, exploring their differences and best use cases. You'll apply scoped values in practical exercises and learn how they enhance context management.
  • Vector API - Deep Dive
    • In this module, we will examine the enhanced Vector API in Java 21. Through hands-on sessions, you'll learn how to use this API to perform high-performance computations efficiently.
  • Key Encapsulation Mechanism - KEM
    • In this module, we will delve into the Key Encapsulation Mechanism (KEM), exploring its role in enhancing Java's cryptographic capabilities. A detailed code walkthrough will help you understand its implementation.
  • Foreign Function and Memory API
    • In this module, we will uncover the Foreign Function & Memory API, a critical addition to Java 21. You'll see how it allows seamless interaction with native libraries, enabling more versatile application development.
  • Structured Concurrency
    • In this module, we will dive into structured concurrency, a feature designed to simplify and organize concurrent programming in Java. Through code demonstrations, you'll understand its benefits and implementation.

Taught by

Packt - Course Instructors

Reviews

Start your review of Java 21 - Exploring the Latest Innovations for 2024

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.