SSH Integration thought preliminary STRUCTS2 Spring hibernate three main frame each

Source: Internet
Author: User

Web Layer with STRUCTS2 action

The service layer uses spring's IOC and AOP as well as JdbcTemplate or transaction transactions (creating objects and maintaining relationships between objects)

The DAO layer operates with hibernate crude

Looks like Structs2 and spring (Structs2 action to spring integration, action processing form, usually multi-instance with spring <bean id= "class=" "scope=" prototype " )

Spring and Hibernate 22 integration (Hibernate does not need to write DataSource, use spring's. Hibernate has a slow first visit, because to create the Sessionfactory object, it is now given to spring, and the server starts to create the Sessionfactory object)

It feels like spring has integrated everything else.

SSH Integration thought preliminary STRUCTS2 Spring hibernate three main frame each

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.