Explain the model 1 and model 2 architecture of spring framework.



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

Post New Answer

More Spring Framework Interview Questions

Explain inversion of control?

1 Answers  


What is ioc and di?

1 Answers  


What are the various transaction manager implementations in spring?

1 Answers  


Describe about dao in spring framework?

1 Answers  


What is the difference between maven and spring?

1 Answers  


What is root war?

1 Answers  


Are singleton beans in spring a regular singleton object?

1 Answers  


What is the symbol for spring?

1 Answers  


What is the implementation of the bean factory container?

1 Answers  


What is pojo used for?

1 Answers  


state the advantages of auto wiring?

1 Answers  


What is the difference between singleton and prototype bean?

1 Answers  


Categories