Using Java 17 latest features in real world projects
What if you could replace complex try-catch blocks with elegant, type-safe code? Learn how Java 17's sealed classes and pattern matching make it possible.
#1about 1 minute
Exploring new language features from Java 12 to 17
An overview of the five key language features introduced between Java 12 and the long-term support release of Java 17.
#2about 3 minutes
Using switch expressions for cleaner conditional logic
The switch expression modernizes conditional logic by returning a value, using arrow syntax, and ensuring exhaustive cases.
#3about 3 minutes
Simplifying multiline strings with text blocks
Text blocks use triple quotes to create multiline strings, eliminating the need for manual concatenation and escaping characters.
#4about 6 minutes
Creating immutable data carriers with records
Records provide a concise syntax for creating immutable data classes, automatically generating constructors, accessors, and essential methods.
#5about 4 minutes
Controlling class hierarchies with sealed classes
Sealed classes and interfaces restrict which other classes can extend or implement them, enabling more precise domain modeling and exhaustive pattern matching.
#6about 4 minutes
Deconstructing objects with pattern matching
Pattern matching simplifies object deconstruction by combining type checks and variable extraction in constructs like `instanceof` and switch expressions.
#7about 2 minutes
Refactoring asynchronous code with modern Java features
A practical example demonstrates how to combine sealed interfaces, records, and switch expressions to refactor complex asynchronous logic into more readable code.
#8about 6 minutes
Q&A on framework support, Kotlin, and the JMM
The Q&A session addresses framework support for records in Spring and JPA, the absence of a builder pattern, comparisons to Kotlin, and recent changes to the Java Memory Model.
Related jobs
Jobs that call for the skills explored in this talk.
Using Java 17 latest features in real world projectsWelcome to this issue of the WeAreDevelopers Live Talk series. This article recaps an interesting talk by Ron Veen who introduced the audience to some of the most interesting features that got added to the Java language.About the speaker:Ron is a hig...
Christina Schaireiter
5 Reasons Why Attending Conferences in 2026 Matters More Than You ThinkIt’s 2026, and the “remote vs. office” debate has finally settled into a high-tech hybrid reality. While we’ve perfected the art of shipping production-grade code from decentralized hubs and home setups, something shifted. We realized that while AI c...
Top 10 Java LibrariesJava has been around for so long, in part, because it has a large ecosystem. While all of Java's core components are exceptionally robust, the abundance of Java libraries is the one that stands out the most. So… what are the must-know Java libraries ...
From learning to earning
Jobs that call for the skills explored in this talk.