~/talk

Modern Java 21+: The Next-Level Upgrade

Talkat Great International Developer Summit 2024 · 2024-04-23..04-26· [java]
links:none on file
slides:none on file

Survey of Java 9–21 features with concrete examples: uses the built-in HTTP client and Jackson to call open-notify.org, parse JSON into records, and assert there are seven astronauts aboard the ISS; shows that the HTTP client is AutoCloseable in Java 21 so it can be used in a try-with-resources; models responses as a sealed interface Result with Success/Failure records and uses pattern matching for switch (GA in 21) to extract data; demos JShell, single-file execution, text blocks, and the tiny jweb server.

AI-written summary · about

  1. 0:00Introduction to Java 21+
  2. 6:09Collection factory methods
  3. 11:08Local variable type inference
  4. 22:53HTTP client in Java 11
  5. 36:23Command line features
  6. 46:23Enhanced switch and text blocks
  7. 50:34Records and sealed interfaces
  8. 1:00:00Virtual threads and Java 21
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.