InterviewSolution
| 1. |
What Is Spring Boot? |
|
Answer» First of all Spring Boot is not a framework, it is a WAY to ease to create stand-alone application with minimal or zero configurations. It is approach to develop spring based application with very less configuration. It provides defaults for code and annotation configuration to quick start new spring projects within no time. It leverages existing spring projects as well as Third party projects to develop production ready applications. It provides a set of Starter Pom’s or gradle BUILD files which one can use to add required dependencies and also facilitate auto configuration. Spring Boot automatically configures required classes depending on the libraries on its CLASSPATH. SUPPOSE your application want to INTERACT with DB, if there are Spring Data libraries on class path then it automatically sets up connection to DB along with the Data Source class. First of all Spring Boot is not a framework, it is a way to ease to create stand-alone application with minimal or zero configurations. It is approach to develop spring based application with very less configuration. It provides defaults for code and annotation configuration to quick start new spring projects within no time. It leverages existing spring projects as well as Third party projects to develop production ready applications. It provides a set of Starter Pom’s or gradle build files which one can use to add required dependencies and also facilitate auto configuration. Spring Boot automatically configures required classes depending on the libraries on its classpath. Suppose your application want to interact with DB, if there are Spring Data libraries on class path then it automatically sets up connection to DB along with the Data Source class. |
|