© 2017

Learn Microservices with Spring Boot

A Practical Approach to RESTful Services using RabbitMQ, Eureka, Ribbon, Zuul and Cucumber


  • A pragmatic tutorial that teaches by doing

  • Includes practical case study application "walk-thru"

  • Covers the very popular Spring Boot, a key Java framework


Table of contents

  1. Front Matter
    Pages i-xi
  2. Moises Macero
    Pages 1-7
  3. Moises Macero
    Pages 9-21
  4. Moises Macero
    Pages 23-98
  5. Moises Macero
    Pages 99-177
  6. Moises Macero
    Pages 179-265
  7. Moises Macero
    Pages 267-314
  8. Back Matter
    Pages 315-330

About this book


Build a microservices architecture with Spring Boot, by evolving an application from a small monolith to an event-driven architecture composed of several services. This book follows an incremental approach to teach microservice structure, test-driven development, Eureka, Ribbon, Zuul, and end-to-end tests with Cucumber.

Author Moises Macero follows a very pragmatic approach to explain the benefits of using this type of software architecture, instead of keeping you distracted with theoretical concepts. He covers some of the state-of-the-art techniques in computer programming, from a practical point of view. You’ll focus on what's important, starting with the minimum viable product but keeping the flexibility to evolve it.

You will:
  • Build microservices with Spring Boot
  • Use event-driven architecture and messaging with RabbitMQ
  • Create RESTful services with Spring
  • Master service discovery with Eureka and load balancing with Ribbon
  • Route requests with Zuul as your API gateway
  • Write end-to-end rests for an event-driven architecture using Cucumber
  • Carry out continuous integration and deployment


microservices Java Spring Boot RabbitMQ programming code source web services web development

Authors and affiliations

  1. 1.New YorkUSA

About the authors

Moises Macero has been a software developer since he was a kid.  He has also worked at start-ups where being a full-stack developer is essential.  In his career, Moises has most often worked in development, design and architecture - for small and large projects, and in both agile and "waterfall" environments.  

Bibliographic information

Industry Sectors
IT & Software
Finance, Business & Banking