Packt
Java 21 - Exploring the Latest Innovations for 2024
Packt

Java 21 - Exploring the Latest Innovations for 2024

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

5 hours to complete
3 weeks at 1 hour a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

5 hours to complete
3 weeks at 1 hour a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Master Java 21 features like unnamed classes, record patterns, and virtual threads with hands-on practice.

  • Leverage advanced APIs, including Vector and Foreign Function, for performance optimization and scalability.

  • Enhance concurrency and security with structured concurrency, scoped values, and Key Encapsulation Mechanism (KEM).

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

February 2025

Assessments

11 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 12 modules in this course

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.

What's included

3 videos1 reading

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.

What's included

3 videos1 assignment

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.

What's included

5 videos1 assignment

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.

What's included

5 videos1 assignment

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.

What's included

7 videos1 assignment

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.

What's included

1 video1 assignment

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.

What's included

2 videos1 assignment

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.

What's included

3 videos1 assignment

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.

What's included

2 videos1 assignment

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.

What's included

2 videos1 assignment

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.

What's included

1 video1 assignment

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.

What's included

1 video1 assignment

Instructor

Packt - Course Instructors
Packt
567 Courses49,058 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions