Explain the model 1 and model 2 architecture of spring framework.
Answer / Vijay Verma
Model 1 (Default Model) in Spring Framework follows a request-driven architecture, where the controller is responsible for populating the model object using data from the request. The view remains unaware of the model. On the other hand, Model 2 (Handled Request or MVC Model) separates the application into three components: Controller, Service/Model, and View. In this architecture, the Controller retrieves data from the Model, then populates the Model attributes that are passed to the View for rendering.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain inversion of control?
What is ioc and di?
What are the various transaction manager implementations in spring?
Describe about dao in spring framework?
What is the difference between maven and spring?
What is root war?
Are singleton beans in spring a regular singleton object?
What is the symbol for spring?
What is the implementation of the bean factory container?
What is pojo used for?
state the advantages of auto wiring?
What is the difference between singleton and prototype bean?