2 Common Spring Boot tasks

This chapter covers

  • Managing configurations in a Spring Boot application
  • Creating custom configurations with @ConfigurationProperties
  • Exploring the CommandLineRunner interface to execute initialization code
  • Understanding Spring Boot default logging and configuring Log4j2 logging
  • Validating user data in a Spring Boot application using Bean Validation

By this point, we’ve learned a bit about what Spring Boot is and its purpose of improving the application development experience by abstracting specific low-level configurations. In this chapter, you’ll extend this understanding further by learning a few core concepts, such as how to manage application configuration and create a custom configuration for your application. ...

Get Spring Boot in Practice 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.