Push vs Pull Model in MVC

前端 未结 4 580
抹茶落季
抹茶落季 2021-02-09 16:47

What is the difference between the push & pull models of MVC?

Is Struts2, Spring MVC Pull based?

4条回答
  •  青春惊慌失措
    2021-02-09 17:51

    The concept of push and pull refers to what the server does in relation to the client. In a "push" application, a server is pushing or sending data to clients at it's own initiation. In a "pull" application, the server is pulling or waiting for and receiving messages initiated by clients.

    A good explanation is given here mvc-pattern-its-importance-push-pull and here pull-vs-push-mvc-architecture

    Struts1 and Spring both use Push MVC. This question might be helpful spring-mvc-complex-model-population-from-multiple-sources Struts2 uses Pull

提交回复
热议问题