Features released in Java in the last year have brought greater opportunities for developers to improve application readability, maintainability as well as development productivity.
In this hands-on lab, you will have a chance to discover Java 17 and use some of the most recent Project Amber language features added to the Java platform such as Records, Switch Expression, Pattern Matching for instanceof, Pattern Matching for switch (as a preview feature), Sealed Classes, ..., as well as get a chance to understand strong encapsulation.
Further, you will test-drive some of the new JDK 17 features such as Context-Specific Deserialization Filters.
This is an exploration lab with a bunch of exercises. Some of them need to be executed one after the other, others are completely independant, allowing the people to pick what they are most interested in. This lab has been developed for the release of Java 17, used during several online event, and will be updated for 18.