Book Image

Software Architecture with Spring 5.0

By : René Enríquez, Alberto Salazar
Book Image

Software Architecture with Spring 5.0

By: René Enríquez, Alberto Salazar

Overview of this book

Spring 5 and its ecosystem can be used to build robust architectures effectively. Software architecture is the underlying piece that helps us accomplish our business goals whilst supporting the features that a product demands. This book explains in detail how to choose the right architecture and apply best practices during your software development cycle to avoid technical debt and support every business requirement. Choosing the right architecture model to support your business requirements is one of the key decisions you need to take when a new product is being created from scratch or is being refactored to support new business demands. This book gives you insights into the most common architectural models and guides you when and where they can be used. During this journey, you’ll see cutting-edge technologies surrounding the Spring products, and understand how to use agile techniques such as DevOps and continuous delivery to take your software to production effectively. By the end of this book, you’ll not only know the ins and outs of Spring, but also be able to make critical design decisions that surpass your clients’ expectations.
Table of Contents (21 chapters)
Title Page
Copyright and Credits
Packt Upsell

Chapter 8. Microservices

We are constantly looking for new ways to create software systems that cater for both happy customers who have applications that support their business needs and developers who are challenged by cutting-edge technologies. The balance of satisfying these two types of target user is important; it allows us to achieve our business goals and avoid losing skilled developers.

On the other hand, as developers, we are also trying to create modules and specialized libraries that address specific technical or business needs. Later, we will reuse these modules and libraries across different projects to comply with thedon't repeat yourself(DRY) principle.

Using this introduction as a point of departure, we are going to review how microservices architectures can address these concerns and more. In this chapter, we are going to look at the following topics:

  • Principles of microservices
  • Modeling microservices
    • How to implement microservices using Spring Cloud:
      • Supporting dynamic configuration...