liveBook · Manning

Spring Boot

As explained in Developer Experience on Kubernetes

Spring Boot is a Java framework for building stand-alone, production-oriented applications with convention-based configuration and integrated infrastructure.

Spring Boot provides a convention-oriented way to run Java applications and their infrastructure dependencies. A Gradle bootRun task starts the application and launches its PostgreSQL dependency through Testcontainers, while the framework manages application startup and integrated database migration behavior. section 2.3.1 section 2.4.2

Spring Boot’s developer workflow includes:

  • Start the service with ./gradlew bootRun and wait for the application-started log message before sending requests. section 2.3.1
  • Use Testcontainers to provide PostgreSQL during development, avoiding separate dependency setup for the application run. section 2.3.1
  • Apply database schema changes through Flyway migrations when the application starts, requiring only the migration SQL in the described change. section 2.4.2
./gradlew bootRun

Run the Java service with Gradle’s bootRun task. section 2.3.1

How Developer Experience on Kubernetes covers it

How deep it goes
Explains startup orchestration and migration integration, but does not descend into Spring Boot internals or configuration mechanics.
Examples
Uses an Appointments service, PostgreSQL container, HTTP requests, and a migration adding a column to the Appointment table.
What it assumes
Assumes Java and Gradle project familiarity while demonstrating application startup, containerized dependencies, and migration use.
What you can do after
Operate/configure a Java service that starts with its development database and applies schema migrations automatically.
How it connects
Connects Java, Gradle, PostgreSQL, Testcontainers, Flyway, and database migrations.

Also explained in

Compare how 9 books explain Spring Boot →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Developer Experience on Kubernetes. The section links point to the parts of the book it draws on.