Grokking Spring Boot
Vote

0% completed

​

The Startup Sequence

The main method of the booking service makes one call, SpringApplication.run. Inside that call, in a traced run of the service, these things happened in this order.

  1. The settings were read from every source.
  2. An empty container was created.
  3. The main class was registered as the first bean definition.
  4. The scan and the auto-configuration candidates added the remaining definitions.
  5. Tomcat was created, every bean was created, and Tomcat started listening.
  6. The runners ran.
  7. The application announced that it was ready.

The whole sequence took about three seconds

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content