Latest Features in Java
This workshop discusses the features added to Java since Java 8. After a review of the functional additions (streams, lambda expressions, and method references), topics will include Local Variable Type Inference (LVTI), collection factory methods, the Java shell, the new HTTP client, the enhanced switch statement, text blocks, records, pattern matching, and sealed classes.
Features will be demonstrated for Java versions from 8 through 17, using preview versions where available.
- Java Licensing and Release Schedule
- Functional Programming in Java
- Lambda expressions
- Method references
- Streams
- Optional data type
- Static and default methods in interfaces
- The
java.time
Package - Collection Factory Methods
List.of
Set.of
Map.of
Map.ofEntries
- Local Variable Type Inference
- JShell
- HTTP Client
- Enhanced Switch Statement
- Text Blocks
- Records
- Pattern Matching
- Sealed Classes
- Miscellaneous Features
- A bit about JPMS
About Kenneth Kousen
Ken Kousen is a Java Champion, several time JavaOne Rock Star, and a Grails Rock Star. He is the author of the Pragmatic Library books “Mockito Made Clear” and “Help Your Boss Help You,” the O'Reilly books “Kotlin Cookbook”, “Modern Java Recipes”, and “Gradle Recipes for Android”, and the Manning book “Making Java Groovy”. He also has recorded over a dozen video courses for the O'Reilly Learning Platform, covering topics related to Android, Spring, Java, Groovy, Grails, and Gradle.
His academic background include BS degrees in Mechanical Engineering and Mathematics from M.I.T., an MA and Ph.D. in Aerospace Engineering from Princeton, and an MS in Computer Science from R.P.I. He is currently President of Kousen IT, Inc., based in Connecticut.
More About Kenneth »