In Spring Boot, enabling ________ can help in reducing the startup time of the application.

  • AOT Compilation
  • Aspect-Oriented Programming
  • Component Scanning
  • Lazy Initialization
In Spring Boot, enabling "Lazy Initialization" can help in reducing the startup time of the application. Lazy initialization means that beans are created and initialized only when they are first requested, rather than eagerly during application startup. This can significantly improve startup performance, especially for large applications with many beans, as it avoids unnecessary upfront bean creation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *