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. |
|
| ||||
Design - Interview Questions and Answers for 'Web frameworks' - 2 question(s) found - Order By Newest | ||||
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. @Autowired and @Inject are similar in terms of functionality they achieve. @Inject is part of a new Java technology called CDI that defines a standard for dependency injection whereas @Autowired is a Spring specific annotation for dependency injection. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  spring   web frameworks   dependency injection   autowired   inject   spring annotations   ioc | ||||
Related Questions | ||||
Explain Flow of Spring MVC ? | ||||
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 ? | ||||