adspace
Explain the model 1 and model 2 architecture of spring framework.
Answer Posted / 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 |
Post New Answer View All Answers