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

Infrastructure as code

Infrastructure as code refers to the process of creating files along with environment definitions and procedures that are going to be used to provision an environment. The DevOps concept started to use these scripts or files in a repository together with the code so that we can determine what code is going to be deployed in which environment. Using these practices, we can be sure that all servers and environments are consistent.

A typical organization or team will deploy their application in more than one environment, mainly for testing purposes. When we have environments for development, staging, and production, the biggest problem developers face is that each environment is different and requires different properties.

These properties may include the following configurations, among others: 

  • Server names
  • IP addresses and port numbers
  • Server queue connection
  • Database connection
  • Credentials

The modern era of software development suddenly brought us testability, repeatability...