This is the source code for showing off the new JDBC & REST Clients in Spring Boot 3.2. I will be using this code in a webinar on December 19th, 2023. You can register for the webinar here:
https://www.azul.com/webinar/20231219-spring-boot-updates
- Create a new Spring Boot Application
- web,jdbc,postgresql,docker-compose,devtools
- Review
- pom.xml
- compose.yaml
- Run the application
- Connect to the database
- Post Record
- Post Repository
- JDBC Template
- JDBC Client
- Insert Record
- schema.sql
- spring.sql.init=always
- CommandLineRunner
- Run the Application
- View Database
- JsonPlaceholderService
- RestClient
- Post Service
- Http Interfaces
- Interface
- Factory
- RestClient