Spring - Interview Questions and Answers for 'Ibm india' - 3 question(s) found - Order By Newest Recently asked in TCS , Tech Mahindra, HCL , Accenture and Fidelity. Q1. Explain Flow of Spring MVC ? Spring
Ans. The DispatcherServlet configured in web.xml file receives the request.
The DispatcherServlet finds the appropriate Controller with the help of HandlerMapping and then invokes associated Controller.
Then the Controller executes the logic business logic and then returns ModeAndView object to the DispatcherServlet.
The DispatcherServlet determines the view from the ModelAndView object.
Then the DispatcherServlet passes the model object to the View.
The View is rendered and the Dispatcher Servlet sends the output to the Servlet container.
Finally Servlet Container sends the result back to the user. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  j2ee   spring   mvc   frameworks   web applications   architecture Asked in 11 Companies Basic   frequent Related Questions What are the benefits of using Spring Framework ? What is MVC ? How spring boot works ? What is the difference between Singleton and Prototype Bean scope in Spring ? How can we manage Error Messages in the web application ? Difference between Java beans and Spring Beans ? What bean scopes does Spring support? Explain them. What are some differences between Spring caching and Hibernate caching? Can we have two beans with same class with different bean id in spring ? Ans. Spring is a Framework where we have to Build the Configurations Manually but Springboot have default configurations that allow faster bootstrapping. Spring Framework requires a number of dependencies to create a web app. Spring Boot, on the other hand, can get an application working with just one dependency. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  spring boot Asked in 1 Companies Related Questions How spring boot works ? 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? Q3. What is the purpose of Spring inheritance ? Spring
This question was recently asked at 'IBM India'.This question is still unanswered. Can you please provide an answer. 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 Difference between == and .equals() ? Why is String immutable in Java ? Explain the scenerios to choose between String , StringBuilder and StringBuffer ?
or
What is the difference between String , StringBuilder and StringBuffer ? What are the difference between composition and inheritance in Java? Explain OOPs
or
Explain OOPs Principles
or
Explain OOPs Concepts
or
Explain OOPs features
or
Tell me something about OOPs What is a Lambda Expression ? What's its use ? What are different ways to create String Object? Explain. Why Char array is preferred over String for storing password? Does garbage collection guarantee that a program will not run out of memory? What is the difference between final, finally and finalize() ?