Making Spring Boot Even Groovier
summary
Shows how to replace Java ceremony with Groovy in Spring Boot: use Gradle + Spock for build and readable data‑driven tests, add Groovy sources with @CompileStatic for Java‑like performance, and choose Groovy templates (.tpl) and GSP for views (GSP gives automatic XSS prevention and taglibs). Demonstrates plugging in GORM (Hibernate/MongoDB) by adding a dependency and annotating domain classes (grails.persistence.entity), swaps to MongoDB by changing one dependency, and runs a working Spring Boot 1.1 app end to end.
AI-written summary · about
chapters (12)
- 0:00Introduction to talk
- 1:11Spring Boot and Groovy basics
- 6:27Adding Groovy to Spring Boot
- 7:29Gradle build system
- 16:13Spock testing framework
- 21:59Mixing Groovy and Java
- 35:12Groovy templates
- 44:06Introducing GORM
- 55:27GORM with Hibernate
- 58:15GORM with MongoDB
- 1:05:18GSP template engine
- 1:17:49Q&A and summary
