Grokking Spring Boot
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.
- The settings were read from every source.
- An empty container was created.
- The main class was registered as the first bean definition.
- The scan and the auto-configuration candidates added the remaining definitions.
- Tomcat was created, every bean was created, and Tomcat started listening.
- The runners ran.
- 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%