Java's Hidden Gems: Tools and Libraries
summary
A rapid catalogue of concrete Java tools with real outcomes: 70 examples on GitHub shows lightweight demos; ArcUnit rules enforce package/annotation boundaries in JUnit; Awaitility replaces fragile Thread.sleep waits; JaCoCo agent writes coverage only on shutdown and uncovers unused code during manual/perf tests; PIT mutation testing exposes untested branches; Testcontainers runs DBs in Docker; a 29 GB dataset with 41 million records processes in ~2 minutes via Spark; OpenRewrite migrates JUnit4 to Jupiter and fixes code; build time drops from 11s to 4s using Maven Daemon.
AI-written summary · about
chapters (23)
- 0:00Introduction and overview
- 1:27Architecture validation with ArchUnit
- 3:52Asynchronous testing with Awaitility
- 5:37Code coverage with JaCoCo agent
- 8:51Mutation testing with Pitest
- 12:02Integration testing with Testcontainers
- 13:26Performance testing with Gatling
- 15:13Profiling with JDK Mission Control
- 19:07Equals method verification with EqualsVerifier
- 20:57Templating with Handlebars
- 23:30Job scheduling with JobRunr
- 25:34Code generation with JavaPoet
- 26:37HTML parsing with JSoup
- 28:03Phone number validation with libphonenumber
- 29:08Planning with Timefold
- 33:43Big data processing with Apache Spark
- 36:12Feature flags with Toggles
- 38:19Security scanning with OWASP Dependency Check
- 39:54Password validation with Passay
- 41:06Dependency updates with Renovate
- 42:08Code modernization with OpenRewrite
- 43:49Faster builds with Maven Daemon
- 45:23Q&A and closing remarks








