Design and Implementation of Social Website System Based on Struts 2 & Hibernate
|School||Huazhong University of Science and Technology|
|Keywords||Community Struts2 Hibernate MVC|
Community site is one of the primary means of modern network users based on the same interest and hobbies make friends . Continuously improve the development and application of the level of community sites and Internet to enrich people's lives , lifestyle diversified . The development of information technology , networking and intelligent modern community website system can not only improve the running efficiency and technical content of the online community , but also to promote the sharing and exchange of high-speed Internet information . Status and Trends of the community site system uses B / S model , combined with the actual project , from system analysis , system design , system implementation and system testing are discussed in detail . The system uses a multi-tier architecture layer, business logic , data persistence layer and data layer , respectively, for a page . Page said layer is responsible for receiving and responding to client requests and dynamically generated Web pages . The business logic layer is responsible for the core business logic of the entire system . Data persistence layer is responsible for the operation of the database . In the data layer , the entire system of the database is responsible for storing business data. The system described in detail the presentation layer , including views and a business controller Action Struts2 framework . Achieve data persistence layer using Hibernate layer through HibernateAPI and data communications . This article to a development environment configuration file , mapping file , the implementation class , use case diagrams and interface diagrams . Finally, all Java programs with JUnit tests to be satisfied with the results . The community website system maintainability, reusability, portability and good strong scalability, and promote a modular development .