Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Spring - Interview Questions and Answers for 'Accenture india' - 3 question(s) found - Order By Newest | ||||
Recently asked in TCS , Tech Mahindra, HCL , Accenture and Fidelity. | ||||
| ||||
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 ? | ||||
Very frequently asked.Usually among first few questions. | ||||
| ||||
Ans. MVC is a Design Pattern that facilititates loose coupling by segregating responsibilities in a Web application 1. Controller receives the requests and handles overall control of the request 2. Model holds majority of the Business logic, and 3. View comprise of the view objects and GUI component | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  j2ee   mvc   mvc design pattern   design pattern   struts   spring   web application   web frameworks   ebay Asked in 60 Companies basic   frequent | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
Explain Flow of Spring MVC ? | ||||
What are the benefits of using Spring Framework ? | ||||
Why Struts 1 Classes are not Thread Safe whereas Struts 2 classes are thread safe ? | ||||
What bean scopes does Spring support? Explain them. | ||||
Which MVC is struts2 based on ? | ||||
What are different modules of spring ? | ||||
What is Spring configuration file? | ||||
Q: What is default scope of bean in Spring framework? | ||||
What is bean auto wiring? | ||||
| ||||
Ans. Core technologies: dependency injection, events, resources, i18n, validation, data binding, type conversion, SpEL, AOP. Testing: mock objects, TestContext framework, Spring MVC Test, WebTestClient. Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML. Spring MVC and Spring WebFlux web frameworks. Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache. Languages: Kotlin, Groovy, dynamic languages. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve   Asked in 2 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() ? | ||||