Java 8 (and 9!) in Anger
summary
Builds a real end-to-end app that consumes a canned Twitter feed (published at about two tweets per second) and shows a JavaFX dashboard with a leaderboard, an overall mood pie chart and a 10-minute happiness bar chart. Uses lambda expressions and the streams API (computeIfAbsent, comparator.comparingInt, collectors.joining, files.lines, Platform.runLater), swaps stub services for real canned tweet files, and uses Java 9 niceties like List.of and takeWhile. The demo mostly runs live but has a few UI wiring hiccups during live coding.
AI-written summary · about
chapters (13)
- 0:00Start
- 5:36Code a Leaderboard
- 6:25Stub Service
- 9:23Ui
- 25:39Refactoring
- 30:27Happiness Chart Data
- 36:04Error Handling
- 37:30Add Artificial Delay
- 37:58Streams Can Be Infinite
- 39:24Canned Tweets
- 43:30Mood Analyser
- 43:47Map of Entries
- 50:13Streams Api
related talks
38mJava 8: Functional programming
43mLearning modern Java the playful way
17mNew JavaFX Features in Java SE 8 and an Intro to Lambdas
50mJava Libraries You Can’t Afford to Miss
56mJava libraries you can't afford to miss (Student Day)
46mJava 9 in Anticipation
52mModern Java in Action
59mSay the Words: Modern Java with JavaFX for Rich Client UIs
