The Best of Java Shorts Shorts Show: 100 Snippets in 45 Minutes
summary
Collection of concrete, runnable recipes that demonstrate actual outcomes: 100 snippets that use only javac and VS Code, show Java 21 on Corretto, and include examples that surprise — e.g., run Java as a shell script, built a tiny clipboard washer that strips styling (works but Swing blocks Graal native image), a JWT decoder, file watch and file diff, timers and ScheduledThreadPool, emoji and colored terminal output, and producing a minimal JVM via jlink subset jddvm that boots and runs. Everything uses core Java, no external deps.
AI-written summary · about
chapters (24)
- 0:00Introduction and Java Shorts origin
- 3:55First Java Short hack
- 6:44VAR ARGS and timers
- 9:52Built-in file watch service
- 12:42Clipboard automation
- 17:23Custom JVM with jlink
- 18:46Terminal colors and logging
- 21:13AutoCloseable resources
- 23:05Static initializers and JDBC
- 24:52Assertions and preconditions
- 25:35Terminal reset and formatting
- 26:38Functional interfaces
- 28:50Optional misuse and preconditions
- 30:15String formatting
- 31:39String templates
- 32:22Temp directories and files
- 33:31Directory streams
- 34:55Cloud-native configuration
- 35:57Java as shell script
- 37:26Endless streams
- 38:50Decoding JWT
- 40:18List operations
- 41:44Records and destructuring
- 42:51Dynamic proxies
related talks
51mThe Best of Java Shorts Show: 100 Snippets in 50 Minutes
47mJava for Small Coding Tasks
57mBreaking Java Stereotypes: It's Not Your Dad's Language Anymore
39mJava's Hidden Gems: Tools and Libraries
47mJava's Hidden Gems: Tools and Libraries
53mThe Secrets of the Fastest Java Developers on Earth
51mA Dozen Cool Things You can Do with JVM Languages
48mJava's Hidden Gems: Tools and Libraries
