Sprin boot - Interview Questions and Answers for 'Hexaware' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3268 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Sprin boot - Interview Questions and Answers for 'Hexaware' - 1 question(s) found - Order By Newest

 Q1. How spring boot works ?Sprin Boot2017-12-26 10:01:59

Ans. The Spring Application starts with the main() method. Spring Application has a Main Class where main() method has a static method run() which takes two arguments, one is class type and second is string array.

Spring Application will bootstrap our application, starts auto-configured tomcat web server.When SpringApplication.run() command is invoked, the Application Context is created. The createApplicationContext method checks if it is a web or standalone application based on the type it creates for the context.When the constructor of the context is invoked, it will register the annotated class beans with the context. All your @Repository, @Component, @Service, and Controller beans will be registered and the context is returned.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve          Asked in 1 Companies


Related Questions

 What is Spring Boot ?
 How to use spring boot to configure different datasources ?
 Which spring boot version are you working with ?
 Which spring boot version are you working with ?

 Which spring boot version are you working with ?
 Can we use Prototype Bean scope with Autowiring ?
 Can you explain spring boot project Architecture?
 What is the difference between try-catch and @ExceptionHandler in Java/Spring Boot?
 Difference between spring and spring boot




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this