Start of Project (struts+hibernate+spring)

Source: Internet
Author: User
After resigning at home want to do an e-commerce website, mainly want to learn struts+hibernate+spring, the main tool is eclipse. The initial plug-in is MyEclipse and Hibernate syn (one can generate dao,pojo from a table, Configuration file of the Eclipse plugin), using it on the Hibernate side DAO can not write any code, for its implementation of the interface, can be through the eclipsed of the refactoring to complete the declaration of the interface. In order to and spring compatibility needs to modify the automatically generated DAO class root class, let this root class inherit hibernatesuport, need to change the method of conflict, that is, the access to the session needs to be modified. For the business layer in spring did not find a good code generation tool to be compatible with DAO, I wrote a template to do it, feel OK, (in considering whether to write a tool to generate that). The next task is to build the test case (in JUnit), and there's a task I can write a struts template with edit, find, list, parent-child table display, lookup page, including Labels that fit your project (the initial decision to use a struts tag is compatible with other MVC frameworks) If anyone interested in this can add me QQ 39459358 (when verifying the time to write a blog)

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.