Push vs Pull Model in MVC

前端 未结 4 596
伪装坚强ぢ
伪装坚强ぢ 2021-02-09 17:05

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

Is Struts2, Spring MVC Pull based?

4条回答
  •  一向
    一向 (楼主)
    2021-02-09 17:30

    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

提交回复
热议问题