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.
Java 21 - Exploring the Latest Innovations for 2024
Instructor: Packt - Course Instructors
Included with
Recommended experience
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
Add to your LinkedIn profile
February 2025
11 assignments
See how employees at top companies are mastering in-demand skills
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
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
Offered by
Why people choose Coursera for their career
New to Software Development? Start here.
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
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.