Java 9 to 21: How to Code Like a Pro
Published by Pearson
All You Need to Know about Java’s New Features and Benefits
- Experience live coding from a pro—all with meaningful examples
- Learn all of the important new features of Java and their benefits
- Gain insight on full history and implementation details when it counts
Java continues to roll out new releases at a very fast pace, a new release every 6 months. Many features have been added since Java 9. Some new features—like var, text blocks and switch expressions—have proven to be extremely useful.
In this Live Training, we cover all the important features from Java 9 up to 21. You also learn all about the stories behind the features and their implementation to better understand how the changes fit with the grand scheme of Java.
Stay on top of your Java game, and take this course to experience all of the new features, with live coding in action.
What you’ll learn and how you can apply it
- All the new Java language features that have been added from Java 9 and 21
- The most important API additions to the JDK
- Under-the-hood perks of the new implementation
And you’ll be able to:
- Code more efficiently in Java 11, 17 and 21 (LTS versions)
- Understand the evolution of Java to strengthen your coding expertise
- Develop faster, cleaner, better code
This live event is for you because...
- You are a Java developer
- You want to be efficient
- You want to learn the magic tricks that will make you an expert
- You don’t what to be left behind coding in Java 8
Prerequisites
- You already code in Java and want to learn about the latest features
- Experience with Java 8, lambda, and streams is a plus
Course Set-up
Option, iff you want to follow along with the live coding, you will need the following:
- Git to clone this repository: https://github.com/henri-tremblay/java91011beyond.git
- Java 21 installed on your machine
- Maven installed
- An IDE to have a look at the code
Recommended Preparation
- Read: Mastering Lambdas by Maurice Naftalin
- Read: Java 9 Modularity by Sander Mak and Paul Bakker
- Read: Java Concurrency in Practice by Brian Goetz
Recommended Follow-up
- Attend: Memory Efficient Java by Kirk Pepperdine
- Attend: Live Training from Heinz Kabutz
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Segment 1: Introduction (20 minutes)
- Presentation of the course and instructor
- Java Delivery Process
- Trends in Java
Segment 2: Java 9 and the module system (30 minutes)
- Java 9 new language features
- New collection API
- Flow, the actor-based API
- Java Platform Module system
- Q&A (5 minutes)
- Break (5 minutes)
Segment 3: Up to Java 13 (50 minutes)
- Java 10: var, type inference, and more
- Java 11 (LTS): HTTP Client, single-file program, and more
- Java 12: Switch expressions, preview features, and more
- Java 13: Text blocks, and more
- Q&A (5 minutes)
- Break (5 minutes)
Segment 4: Up to Java 17 (50 minutes)
- Java 14: Pattern matching, Records, Jpackage, and more
- Java 15: Sealed classes, biased locking, and more
- Java 16: Value types, GitHub, and more
- Java 17 (LTS): Pattern matchin for switch, Random numbers, and more
- Q&A (5 minutes)
- Break (5 minutes)
Segment 5: Up to Java 21 (50 minutes)
- Java 18: UTF-8, Simple Web Server, and more
- Java 19: Record patterns, virtual threads, and more
- Java 20: Scoped values, and more
- Java 21 (LTS): String templates, Sequenced collections, and more
Course wrap-up and next steps (10 minutes)
Your Instructor
Henri Tremblay
Henri Tremblay is a Java Champion. He leads EasyMock and Objenesis open source projects. When he was young, he developed and made popular mocking classes, invented partial mocking, and began coding pragmatism. The social side of him leads the Montréal JUG and Devoxx4kids Québec. He has been a developer, CTO, software architect, enterprise architect, startup founder, teacher, conference speaker and performance expert with pragmatism. He is currently Managing Director and Head of TS Imagine Canada. He loves optimization and productivity, in Java and in general. He tries to be useful. He is pragmatic.