Java libraries you can't afford to miss (Student Day)
summary
A small JavaFX client that queries GitHub repositories demonstrates concrete choices: dependency injection with Guice (or Spring Core), JSON mapping via Lombok + Jackson, HTTP with OkHttp and Retrofit, and async flows first with JDeferred then with RxJava for pagination via Link header so 245 repositories load across pages and sort correctly. Tests use Mockito, Jukito, WireMock (fake HTTP), TestFX (UI) and Awaitility for threads; the app, examples and integration tests are runnable and show the libraries actually wired together.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker background
- 2:02Challenge and constraints for REST app
- 5:38Dependency injection with Google Juice
- 10:34Lombok for reducing boilerplate code
- 17:45Logging with SLF4J
- 19:53HTTP client with OkHttp
- 21:40Live demo of the application
- 22:48Retrofit for REST client abstraction
- 26:01Concurrency with JayDefer promises
- 31:18Reactive programming with RxJava
- 36:17Event bus with Ambassador
- 40:32Testing UI and concurrency code
- 45:30Jukito for test injection
- 46:35Spock for Groovy testing
- 49:03Awaitility for multithreading tests
- 51:10WireMock for REST API testing
- 54:43Open source contribution tips
- 55:25Q&A session








