What are the roles of the three frameworks in SSH in development?

Updated on technology 2024-02-09
7 answers
  1. Anonymous users2024-02-05

    struts do request processing and **, hibernate does data persistence, spring provides control reversal and AOP services, generally speaking, novices will take some time to understand the role of spring, in layman's terms, it can help you new the class you need, it can be a singleton or a prototype, you can also help you do some interception such as permission interception, internationalization interception, etc., and can also help you manage hibernate such as transaction delivery.

  2. Anonymous users2024-02-04

    struts is the logical layer, which explains the correspondence between the backend and the frontend, for example, which class should be given to the JSP data for processing.

    Spring is the business layer, which is generally used to automatically create some objects for you and decouple.

    Hibernate is the data persistence layer, which is the operation on the database.

  3. Anonymous users2024-02-03

    Struts is responsible for front-end and back-office interactions.

    Spring is responsible for reflection and doing transaction control.

    Hibernate is responsible for interacting with the database.

  4. Anonymous users2024-02-02

    Struts is responsible for business interactions.

    Spring is responsible for object injection, transaction control, and so on.

    Hibernate is responsible for object persistence.

  5. Anonymous users2024-02-01

    You are on search spring struts hibernate separately there is an encyclopedia, which is more detailed than we said. Let's copy. I think that's coping. It is to tell you how to learn.

  6. Anonymous users2024-01-31

    The respective roles and benefits of SSH:

    struts

    Struts is a good MVC framework, the main technology is servlet and MVC design can make our logic very clear, so that we can write programs with a clear hierarchy.

    spring

    Spring provides a consistent way to manage business objects and encourages the injection of good habits of programming interfaces rather than classes, making our products as decoupled as possible.

    hibernate

    Hibernate is used to persist data and provides fully object-oriented database operations. Hibernate has a very lightweight encapsulation of JDBC, which makes it very easy to deal with relational databases.

    Here's a diagram of the SSH architecture:

  7. Anonymous users2024-01-30

    Spring scheduling, Struts controllers, Hibernate operating databases.

Related questions
24 answers2024-02-09

Celery, greens, radish, cauliflower, carrots, coriander, green onions, lettuce, asparagus, beans, eggplant, tomatoes, cucumbers.

6 answers2024-02-09

Tick ......"Haha, let me get caught again! "You see, a gentleman caught a thief at his doorstep. You may ask: >>>More

18 answers2024-02-09

Buy a witch doctor in the store and plug in the eyes and kill Xiao Xiaoqiang! Xiaoqiang is not fierce, but the fierce is Xiaoxiaoqiang's super BT after attackingBut Xiao Xiaoqiang's blood is pitiful, and he will die if he uses a magic trick if he stands far away. >>>More

15 answers2024-02-09

1. Open the 3DMAX software, select Create, Spline, Circle. >>>More

10 answers2024-02-09

Generally above 60%, there are many kinds of calcium carbonate, let's make it clear. Chinese name: calcium carbonate [English name] calcium carbonate [alias] carbonic acid calcium salt; limestone;Marble Calcium Carbonate [Common Names] Limestone, Calcite, Marble, Chalk, Aragonite, Stalactite, aragonite, White Marble [1] 【Product Name】 Calcium Carbonate 【Molecular Formula】 CACO 【Molecular Weight】 【Melting Point】825°C 【Main Ingredients】CAO,CO 【CAS Accession Number】 471-34-1 【EINECS】 207-439-9 【Density】 Molecular Formula M3 【Hardness】 Mohs Hardness3 【Decomposition Temperature】 898°C 【Melting Point】 When the pressure is , the melting point is 1339 °C 【Water solubility】 Almost insoluble in water dissolved in water containing ammonium salt or ferric oxide, insoluble in alcohol. 【Dielectric Constant】 【Safety Data】 Hazard Signs XI Hazard Code R36 38 【Safety Instructions】S26; S37 39 [Condition] White crystals or powder. >>>More