RESTful Java: 2021 Edition
summary
Compares three stacks: Jakarta REST (JAX‑RS) + MicroProfile Rest Client, Spring MVC REST, and Micronaut by showing working hello‑world code, client interfaces, and deployment as WAR or uber‑jar. Shows JAX‑RS uses JSON‑B (but supports Jackson), Spring defaults to Jackson, Micronaut has no built‑in content negotiation. Demonstrates custom HTTP methods (JAX‑RS and Micronaut make it easy, Spring limits you), global exception handlers, filters, and a MessageBodyWriter example using SnakeYAML, plus a small survey that finds near‑zero Micronaut adoption. Three ebook giveaways mentioned.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:46WHO AM I?
- 1:48WHO IS THIS FOR?
- 2:21DISCLAIMERS
- 3:51WHAT WILL WE COVER?
- 5:29INTRO TO JAX-RS
- 7:58INTRO TO SPRING MVC REST
- 10:08QUICK NOTES ON DEPLOYMENT
- 10:59SIMPLE HELLO WORLD
- 13:48OTHER HTTP METHODS - JAX-RS
- 15:12OTHER HTTP METHODS - SPRING
- 16:19OTHER HTTP METHODS - MICRONAUT
- 18:53ERROR HANDLING: JUST THROW IT!
- 21:35ERROR HANDLING: GLOBAL HANDLER
- 23:37FILTERING REQUESTS/RESPONSES
- 27:24"SCULPTING" RESPONSE DATA
- 28:49SCULPTING WITH JAX-RS
- 30:49SCULPTING WITH SPRING
- 31:54SCULPTING WITH MICRONAUT
- 33:13GETTING STARTED
- 33:42SOURCE MATERIAL
related talks
54mCreating a Cloud-native Microservice – Which Programming Model Should I Use?
36mJava: The new wave of Java web frameworks
43mRESTful Java with JAX-RS 2.0 and Jersey
47mFoundations of Modern #Java Server Apps
56mDeveloper experience in a modern Java framework
49mFrom Zero to Secured: Jakarta REST with MicroProfile and JWT Authentication
52mMicronaut, Dragon-Slayer (Spring/boot) or just another framework
58mGood to Great: from Spring Boot to Micronaut
