Design and Implementation of Technique Standard Management System Based on Hibernate
- Author
- YuHuiQin
- Advisor
- WangShuMing , LiWenYin
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP315 Management procedures,management systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 155
- Citations
- 4
Abstract
With the economic development of our country and continuous advancementof the integration of world economy, there are more requirements forstandard information. As the standard consciousness and individuationdemand for standard information increases, standard information serviceinstitutes have to find ways to provide diverse information services. JilinStandard Academy, which is responsible for provincial standard informationservice, needs an integrated and high-performance technique standardinformation service system to meet the need of various users.Technique Standard Management System of Jilin Province is an integratedsystem which is designed for Jilin Standard Academy to manage all thetechnique standard information and standard information services. It not onlyenables company employees use this stable and effective managementplatform to manage standard information, but also provides a convenient wayfor web users to complete standard information service through Internet,therefore it improves service quality and work efficiency.At present, there are mainly two platforms for enterprise applications: J2EEand .Net. J2EE, with the characteristics of platform-independence, highretractility and extensibility, is being known as the preferred architecture inapplication development. In this paper, in addition to J2EE multitieredarchitecture, a persistence layer is added in order to reinforce extensibilityand portability of the system. Persistence layer is used to take charge ofmapping between objects and relational databases and separate data-relatedoperations from business logic so that it let developers pay their attention tothe implementation of elaborate business logic not to data access details.Persistence layer makes it easier that reusing the application architecture indifferent projects, facilitates database operations, retains multitieredcharacteristic of J2EE and guarantees its extensibility and flexibility.There are mainly three kinds of persistence layer strategies for Java: JDO,EJB and Hibernate. With outstanding characteristics Hibernate has becomemore and more popular in application development. Hibernate is aProfessional Open Source project. It is a powerful, high performanceobject-relational persistence and query service. It lets users develop persistentclasses following object-oriented idiom including association, inheritance,polymorphism, composition and collection. Because of its robust ORM, highperformance of query and data persistence, effective cache, transaction andconcurrency mechanism, it is selected in the system to fulfill the tasks ofpersistence layer.Based on J2EE multitiered architecture and Hibernate persistence technique,the system is divided into five layers: Client Tier is to provide an interface forthe input of users, pass them to web tier using http/https protocols and showresults to users. It is implemented by HTML and Applet;Web Tier is used toaccept user input, select appropriate business model to process them andreturn results to client tier. It is fulfilled using JSP and Servlet technique;Business Tier takes charge of providing different models to complete specifictasks and accomplish requests from users. JavaBean components technique isintroduced into this system to accomplish business logic;Persistence Tier isresponsible for the mapping between objects and relational database. Itencapsulates data operations, completes data persistence and synchronizesresults of the cache with database;Data Tier sees to the data storage andOracle database is chosen to achieve this task.JavaBean components technique is used to build components models.Through JavaBean, the functions of Java applications can be extendedinfinitely and new applications can easily be composed. So JavaBean isselected in this system to execute complicated computation tasks and buildbusiness models, so that it can enhance system flexibility and codereusability.As to security strategy, three methods are used. Firstly, CA authenticationmechanism, which provides identity authentication, signature, and dataencryption, is a general and feasible solution to guarantee the safety ofsystems. Secondly, MD5 algorithm is used to encrypt key information indatabases and because of its unilateralism the information is not easy toobtained. Thirdly, SSL transport protocol is used. Secure Socket Layer isresponsible for transport process and ensures the integrity and safety ofsystem information.In this paper ,design patterns are also used, of which MVC pattern and DAOpattern are mainly discussed. Through the separation of model, view andcontroller, MVC pattern makes system development much faster andimproves system reliability, maintainability, reusability and adaptability.DAO pattern encapsulates data operation details and provides a consistentinterface for upper layer, therefore it can reduce the depedence on databasesof the system, simplify system development and improve efficiency of thesystem.OOP (Object Oriented Programming) is widely used because it can improvesoftware productivity through reuse mechanism. In this paper, the system isanalyzed and designed through OOP method, and UML language is used tobuild domain model in which use case diagram, class diagram, sequencediagram and activity diagram are used to define system functions andcomplete system design.Finally the system implementation is described in this paper. The specificimplementation of each tier is explained and the implementation of Hibernateis mainly discussed. Hibernate implementation is as following. First,initialize Hibernate with an assistant class-HibernateUtil, which readsconfiguration and object-relational mapping information and then createsinstance of SessionFactory. Second, make use of mapping files. Hibernateuses mapping files to map entities and associations to relational databases. Inthis system, there are two associations: one-to-one and one-to-many. As toinherit association, two major strategies are used, that are one inheritancepath one table and one inheritance tree one table. In addition, reportscustomization and system performance improvement using Hibernate is alsoexplained.To sum up, the Technique Standard Management System of Jilin Province isanalyzed, designed and finally implemented in this paper. The system isdesigned based on the combination of J2EE multitiered architecture andHibernate persistence technique. The significance of portability andextensibility of the system based on the designed architecture is discussed.Also the system is designed in detail and fulfilled following OOP measures,and it has already been put into action and shows good practical effect.
Table of contents
Chapter Introduction 7-11
1.1 Background 7-8
1.1.1 research topic Source
1.1.2 persistence layer in The importance of enterprise-class applications 7-8
1.2 research topics are found; 8-9
1.3 Research significance 9
1.4 organizational structure by 9-11
Chapter II system architecture based on J2EE and Hibernate 11-23
2.1 J2EE multi-tier architecture 11-12
2.2 persistence layer J2EE system 12-17
2.2.1 data persistence layer 12-13
2.2.2 ORM 13-15
2.2. 3 Java Persistence Layer mainstream solutions 15-16
2.2.4 Hibernate framework 16-17
2.3 application design patterns 17-20 <br / > 2.3.1 MVC development model 17-19
2.3.2 DAO data access patterns 19-20
2.4 technology standards management system architecture 20-22 < br /> 2.4.1 System Overview the 2.4.2 system hierarchy 20
the 20-22 2.5 Chapter Summary
22-23
first chapters technical standards management system designed 23-39
3.1 system functional modules 23-25 ??
3.2 overall design 25-29
3.2. 1 design principles 25-26
3.2.2 design strategy 26-27
the 3.2.3 network topology design 27-29
3.3 system analysis design 29-39
3.3.1 Use Case Diagram 29-31
3.3.2 class diagram 31-34
3.3.3 sequence diagram the 3.3.4 users 34-35
service flowchart 35-37
3.3.5 lasting physical design 37-39
Chapter Technology standard management system to achieve 39-53
4.1 environment configuration the 39-40
4.1.1 Development Environment 39
4.1.2 Hibernate configuration 39-40
4.2 persistence layer to achieve 40-48
4.2.1 create persistent classes 40-41
4.2.2 create a database Schema 41-42
4.2.3 create an object - relational mapping file the 42-44
4.2.4 Hibernate API to manipulate databases 44-48
4.3 The business logic layer to achieve 48
4.4 presentation layer to achieve 48-49
4.5 Hibernate query performance optimization 49-51
4.6 Other implementations 51-53
Chapter summarizes 53-54
5.1 major work 53
5.2 deficiencies and further work 53-54
Reference 54-56 the
abstracts 56-59
Abstract 59-63
thank the 63
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Personnel salary management system based on WEB application
- The Research and Application of Web Framework based on Lightweight J2EE
- Retailers Membership Card Management System Design and Implementation
- RCP-based Integrated Online Teaching and Management System Design and Implementation
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)
- Research and Implementation of a Human Resource Management System Based on XX Company
- The Design and Implementation of Contingency Plans and Resources Management System for Shijiazhuang City
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- Research and Implementation of Lightweight and Reusable Technique for Data Persistence
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- Integrated ERP Credit Control System
- The Design and Implement of Video Sharing Website Based on Face Tracking
- The Design and Implementation of the Campus Network Management System of Transport Management Institute Ministry
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Design and Implementation of Huafeng Company Integrated Office System
- Design and Implementation of a Enterprise Search Platform
- The Research and Implementation of Information Management System Intergrated the Composite SSH2Frame