한 줄의 run은 네 개의 startup 단계로 펼쳐진다

실패 위치를 main method로 뭉뚱그리지 않고 환경 준비부터 ready event까지 좁힌다.

  1. 1. Prepare environment

    property source와 profile

  2. 2. Create context

    application type 선택

  3. 3. Refresh beans

    conditions와 wiring

  4. 4. Start server

    port bind와 ready