Building a Microservice Federation with Grails 3 and Spring Cloud

In this worshop, we’ll explore essential elements of microservices architectures, then the development of a small federation of microservices using Grails 3.x. We’ll start with a completed monolith, then decompose it into a small federation of independently maintainable, deployable, and scalable microservices. We’ll examine automatic data marshaling and binding of XML and JSON data, REST capabilities, and techniques for implementing security. We’ll end up with a small federation of Grails microservices leveraging Spring Cloud microservices to deliver enterprise scalability and resiliency.

Grails developers have long loved Grails as a platform for building robust web applications. Grails 2.3 gave us powerful server-side REST improvements. Grails 3.x brings Spring Boot for building standalone JARs. This evolution has brought us to the point where we can finally build a federation of loosely-coupled microservices with smaller, more focused, more easily maintained codebases resulting in applications that are trivially easy to deploy and scale and resilient to failure.

Finally, for all the benefits of a microservice architecture, the story’s not all sunshine and lollipops, so we’ll discuss some of the pain points of adopting a microservice architecture.

Requirements

– JDK 8
– Git
– Grails 3.2.x
– A bonus exercise in the workshop will use Docker (time permitting), so try to have Docker installed if you can.

Alternatively, a Linux VirtualBox image will be provided with all the tooling installed, so if you’d rather use the VM image, make sure you have VirtualBox installed.
A Git URL will be provided to download the workshop materials, but I’ll also have the tooling, VM, and workshop materials on USB sticks.

Workshops Track 1
Location: Workshops Venue Date: March 30, 2017 Time: 09:00 - 12:00 Jack Frosch