6
Configuring an Application with Spring Boot
In the previous chapter, we learned how to test various aspects of an application, including web controllers, repositories, and domain objects. We also explored security-path testing, as well as using Testcontainers to emulate production.
In this chapter, we’ll learn how to configure our application, which is a critical piece of application development. While at first glance this may sound like setting a handful of properties, there is a deeper concept at play.
Our code needs a connection to the real world. In this sense, we’re talking about anything our application connects to: databases, message brokers, authentication systems, external services, and more. The details needed to point our application ...
Get Learning Spring Boot 3.0 - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.