Modern Java: This is not your father's Java anymore
Forget complex reactive paradigms. Java 21's virtual threads deliver massive concurrency with a simple, familiar thread-per-request model.
#1about 3 minutes
Creating immutable data carriers with Java records
Records provide a concise syntax for creating immutable data classes, automatically generating constructors, accessors, equals, and hashCode.
#2about 2 minutes
Controlling class inheritance with sealed classes
Sealed classes and interfaces restrict which other classes or interfaces may extend or implement them, offering more control than final or public.
#3about 5 minutes
Leveraging pattern matching for switches and records
Pattern matching simplifies complex conditional logic by combining type checks and variable extraction within switch expressions and instanceof checks.
#4about 4 minutes
Understanding the new virtual threads model
Virtual threads are lightweight, JVM-managed threads that dramatically increase scalability for concurrent applications without complex reactive code.
#5about 2 minutes
Managing concurrent tasks with structured concurrency
Structured concurrency simplifies multithreaded programming by treating groups of related tasks running in different threads as a single unit of work.
#6about 1 minute
Replacing thread locals with safer scoped values
Scoped values offer an improved way to share immutable data within and across threads for a limited scope, avoiding the pitfalls of thread locals.
#7about 2 minutes
Simplifying Java entry points for new developers
Java now allows for simpler main method declarations and unnamed classes, lowering the barrier to entry for writing basic programs.
#8about 2 minutes
Decluttering code with unnamed variables and patterns
Use the underscore character for unnamed variables and patterns to signify intentionally unused variables, improving code clarity.
#9about 1 minute
Introducing new methods for sequence collections
The new sequenced collection interface adds standardized methods like getFirst, getLast, and reversed to collections with a defined encounter order.
#10about 2 minutes
Using string templates for safer interpolation
String templates provide a more powerful and secure way to perform string interpolation by using template processors like STR and FMT.
#11about 4 minutes
Applying data-oriented programming principles in Java
Combine records, sealed classes, and pattern matching to implement data-oriented programming, where application logic is driven by the structure of the data itself.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:16 MIN
What's new in the Java 21 LTS release
Beam Me Up, Java! Unraveling the Warp-Speed Evolution: A Journey through Java LTS Versions 11 to 21
01:23 MIN
Exploring new language features from Java 12 to 17
Using Java 17 latest features in real world projects
17:35 MIN
Major language enhancements from Java 12 to 17
Beam Me Up, Java! Unraveling the Warp-Speed Evolution: A Journey through Java LTS Versions 11 to 21
03:10 MIN
Overview of major Java development projects
Best of Java 15 and beyond—my favorite features
09:05 MIN
Q&A on virtual threads, reactive programming, and Java 21
Introduction and pitfalls of Java's new concurrency model
02:31 MIN
Concluding thoughts on Java's modernization progress
Best of Java 15 and beyond—my favorite features
06:19 MIN
Examining the future of Java and its competition
Best of Java 15 and beyond—my favorite features
13:35 MIN
Q&A on Java's future and developer career paths
Beam Me Up, Java! Unraveling the Warp-Speed Evolution: A Journey through Java LTS Versions 11 to 21
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...
Michael Inden
Modern Java RecordsIn this blog, I will present Records, one of my favorite features of modern Java. Records represent a simplified form of classes whose methods are implicitly derived from the attributes defined as constructor parameters. A record constitutes a collec...
Benedikt Bischof
Java BasicsIn 1991,James Gosling invented a high-level, general-purpose, object-oriented andsecure programming language and called it OAK (after a tree in front of hiswindow). And four years later, in 1995, it was renamed after one of the GreaterSunda Islands: ...
Luis Minvielle
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.