Welcome Guest.

2Answers

How do you know if a project uses ssm or ssh?

Asked by: Joyce 321 views IT April 8, 2019

How do you know if a project uses ssm or ssh?

2 Answers

  1. +5Votes  

    SSM and SSH differ mainly in MVC implementations and in ORM persistence (Hiibernate and Mybatis).

    SSM Advantages:

    SSM is increasingly lightweight, with annotation development to the utmost, and ORM implementations are more flexible, and SQL optimization is easier.

    SSH advantage:

    And SSH pays more attention to configuration development. Hiibernate is more object-oriented to the complete encapsulation of JDBC, and the data maintenance of additions, deletions and changes is more automated, but SQL optimization. It is weak and the entry threshold is slightly higher.

    SSH usually refers to Struts2 as a controller, spring manages the components of each layer, and hibernate is responsible for the persistence layer.

    SSM refers to SpringMVC as a controller, Spring manages the components of each layer, and MyBatis is responsible for the persistence layer.

    Common:

    1, Spring relies on injecting DI to manage the components of each layer.

    2. Manage things, logs, permissions, etc. with face-oriented programming AOP.

    Different points:

    1, Struts2 and SpringMVC controllers control the difference in the interaction mechanism between views and models,

    2, Struts2 is the Action class Level, SpringMVC is a method level, making it easier to implement RESTful styles.

     

    Extended data

    SSM and SSH are popular two companies developing MVC open source frameworks.

    MVC, the abbreviation of model-view-controller, a software design paradigm that organizes code in a way that separates business logic, data, and interface. Aggregate business logic into a single component.

    There is no need to rewrite business logic while improving and personalizing the interface and user interaction. The reason why the framework is popular is that it is easy to reuse and simplify development. The essence is in the mind, master the core ideas, and master other similar frameworks.

    Janet Jones- April 8, 2019 |

  2. +4Votes  

    SSM and SSH are mainly different in MVC implementation and ORM persistence (Hiibernate and Mybatis).

    SSM Advantages:

    SSM is increasingly lightweight, with annotation development to the utmost, and ORM implementations are more flexible, and SQL optimization is easier.

    SSH advantage:

    And SSH pays more attention to configuration development. Hiibernate is more object-oriented to the complete encapsulation of JDBC, and the data maintenance of additions, deletions and changes is more automated, but SQL optimization. It is weak and the entry threshold is slightly higher.

    SSH usually refers to Struts2 as a controller, spring manages the components of each layer, and hibernate is responsible for the persistence layer.

    SSM refers to SpringMVC as a controller, Spring manages the components of each layer, and MyBatis is responsible for the persistence layer.

    Common:

    1, Spring relies on injecting DI to manage the components of each layer.

    2. Manage things, logs, permissions, etc. with face-oriented programming AOP.

    Different points:

    1, Struts2 and SpringMVC controllers control the difference in the interaction mechanism between views and models,

    2, Struts2 is the Action class Level, SpringMVC is a method level, making it easier to implement RESTful styles.

    Amy Turner- April 8, 2019 |