Chapter 1. Welcome to the cloud, Spring

 

This chapter covers

  • Understanding microservices and why companies use them
  • Using Spring, Spring Boot, and Spring Cloud for building microservices
  • Learning why the cloud and microservices are relevant to microservice-based applications
  • Building microservices involves more than building service code
  • Understanding the parts of cloud-based development
  • Using Spring Boot and Spring Cloud in microservice development

The one constant in the field of software development is that we as software developers sit in the middle of a sea of chaos and change. We all feel the churn as new technologies and approaches appear suddenly on the scene, causing us to reevaluate how we build and deliver solutions for our customers. One example of this churn is the rapid adoption by many organizations of building applications using microservices. Microservices are distributed, loosely coupled software services that carry out a small number of well-defined tasks.

This book introduces you to the microservice architecture and why you should consider building your applications with them. We’re going to look at how to build microservices using Java and two Spring framework projects: Spring Boot and Spring Cloud. If you’re a Java developer, Spring Boot and Spring Cloud will provide an easy migration path from building traditional, monolithic Spring applications to microservice applications that can be deployed to the cloud.

1.1. What’s a microservice?

1.2. What is Spring and why is it relevant to microservices?

1.3. What you’ll learn in this book

1.4. Why is this book relevant to you?

1.5. Building a microservice with Spring Boot

1.6. Why change the way we build applications?

1.7. What exactly is the cloud?

1.8. Why the cloud and microservices?

1.9. Microservices are more than writing the code

1.9.1. Core microservice development pattern

1.9.2. Microservice routing patterns

1.9.3. Microservice client resiliency patterns

1.9.4. Microservice security patterns

1.9.5. Microservice logging and tracing patterns

1.9.6. Microservice build/deployment patterns

1.10. Using Spring Cloud in building your microservices

1.10.1. Spring Boot

1.10.2. Spring Cloud Config

1.10.3. Spring Cloud service discovery

1.10.4. Spring Cloud/Netflix Hystrix and Ribbon

1.10.5. Spring Cloud/Netflix Zuul

1.10.6. Spring Cloud Stream

1.10.7. Spring Cloud Sleuth

1.10.8. Spring Cloud Security

sitemap