NOTE

Spring Boot Startup Source Flow

Conceptual SpringApplication startup phases from environment preparation through context refresh, runners, and ready events.

JavaCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

A durable SpringApplication startup model is:

  1. determine application/context type and bootstrap helpers;
  2. prepare environment/property sources/profiles;
  3. create and prepare the application context;
  4. load primary/configuration sources;
  5. refresh the Spring context, triggering bean-factory/post-processor/bean creation phases;
  6. invoke application runners/lifecycle callbacks;
  7. publish started/ready lifecycle signals.

Exact listener/bootstrap classes have changed across Boot generations. Pin source analysis to the exact Boot tag rather than treating an old call graph as permanent.

Loading helpful count