Microservice Architecture with Grails
summary
Grails 3 builds microservices by exposing domain classes as REST endpoints with @Resource + resources URL mapping, using RestBuilder for inter-service calls and GORM queries for data filtering. The demo runs three apps (web UI on 8080, bank on 8082, cars on 8084), the UI calls bank and car services over JSON, and versioning uses an Accept header switch. RestfulController hooks like queryForResource and getObjectToBind are overridable; GORM-for-REST is available and over 1,100 Grails 2 plugins require porting.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:38OCI
- 3:35Grails
- 6:35Microservice
- 12:00URL Mapping
- 15:21Version Mapping
- 20:40No Controller
- 23:11Controller
- 28:00Data Binding
- 31:38Request as Binding Source
- 37:34Application Code
- 42:28Rest Client
- 45:03Rest Builder
- 51:40Demo
related talks
01h 22mExperiences using Grails in a microservice architecture
01h 05mPhilosophical Architecture in Grails
37mGrails State of the Union
46mDivide and Conquer Send Forth the Microservices
23mAbstracting a Service - A Case Study in Forward Thinking with SOA
34mMicroservices, but what about the UI
56mDDD & REST - Domain Driven APIs for the Web
23mMicroservices – Sean Smith
