Exploring Spring Boot Clients: A Comprehensive Overview
summary
Starts with a surprising history: the jdbc template dates to 2001 (predating Spring), Spring is ~20 years old and Spring Boot ~10, and templates still run in production. Shows concrete options: use the new jdbc client (Spring Boot 3.2 auto-configures it) instead of raw templates, prefer the synchronous rest client (defaults to the Java HTTP Client) over new RestTemplate, and use the reactive web client only if you accept Reactor. Demonstrates interface-based proxy clients, Builder-based configuration, and when each approach actually simplifies error handling, resource cleanup, or token refresh.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:34Presentation Overview
- 3:07Brief History
- 5:03History of Spring
- 6:27Why Spring Boot Clients
- 8:04Design Patterns
- 13:11Code
- 17:41Simple JDBC Insert
- 21:41Query Annotation
- 28:26HTTP Call
- 30:25Rest Template Builder
- 31:48Parameterized Type Reference
- 33:23Web Client
- 38:14Interface Client
related talks
52mSpring Recipes: A Collection of Common-Sense Solutions
49mMagical Beans and Mystery
50mTesting Spring Boot Applications
55mBootiful Spring Boot 3
51mHitting the “refresh” button on your Spring web application
40mWhat’s New in Spring
01h 02mIntroduction to Spring Boot
51mSpring Boot 3 / Spring 6: What’s new?
