Research on Safe Enterprise Web Application
- Author
- CaiZuo
- Advisor
- FuDeSheng
- School
- Nanjing University of Information Engineering
- Major
- Systems integration and analysis
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 66
- Citations
- 0
Abstract
In recent years, with the development of Internet and electronic commerce,various social departments need to accomplish their assignments by enterpriseapplication. At the same time, there has been greater demands for application systemsbased on web to meet more complicated requirements, shorter R&D time cycle aswell as higher system expansibility, maintainability and stability. Besides, more andmore enterprises convince that their application should can face to menaces fromInteract.After investigations of current n-tier systems as well as Struts and Hibernate, anew safe, n-tier framework to build web-based systems is brought up in this paperbased on the MVC pattem theory. In the development of System, Struts makes thedifferent roles of View-tier and Business logic tier which can increase the effirencyof System development and strength system expansibility and maintainability.Hibernate is an ORM tool for java envirorment which manages the mapping fromJava classes to database tables and the operation of persistent objects. With the helpof Hibernate, application can connect different databases easily. Meanwhile, a serial ofsafety precautions,such as encipherment/decipherment,message digest, messageidentifying code, digital signature and so on, protect application from attacks.An example based on safe enterprise netstore System is introduced to illustratethe process to build an n-tier-framework-based system with the help ofStruts, Hibernate and some safety precautions.in this case, distinction betweendescription logic and business logic, distinction between business logic and databaseis made possible within the MVC design pattern, which means better flexibility andeasier management in the exploration of a system.System security is also strengthenwith some safety precautions.Results show that develop application like this helps toincrease work efficiency exploration.Meanwhile, expansibility, maintainability andsecurity of the system are also satisfactory.
Table of contents
Chinese Abstract 7-8
Abstract 8-9
first chapter 9-14
1.1 Background 9-10
1.2 topics sense 10-13
1.2.1 enterprise-class Web application development problems 10-12
1.2.2 effective solution 12-13
1.3 papers organizational structure 13-14
Chapter II Java enterprise development (J2EE) 14-16
2.1 J2EE technology 14
the
J2EE 2.2 advantage 14-15
2.3 J2EE applications 15-16
Chapter MVC design pattern Struts application framework 16-23
3.1 design patterns outlined 16
3.2 Web application systems development model used 16-18
3.2.1 Model 1 mode 16-17
3.2.2 Model 2 mode 17-18
3.3 MVC design pattern 18-19
3.3.1 MVC design pattern structure 18-19
3.3.2 the advantages and disadvantages of the MVC design pattern 19
3.4 Struts application framework 19-23
3.4.1 Struts Overview 19-20
3.4.2 Struts composition of 20-21
3.4.3 Struts basic component package 21-22
3.4.4 the Struts strengths and weaknesses analysis 22-23
the Chapter the ORM Overview and Hibernate middleware 23-39
4.1 ORM technology 23-24
4.1.1 ORM concept 23
4.1.2 ORM principle The 23
4.1.3 ORM advantages 23-24
4.2 Hibernate architecture 24-26
4.2.1 Hiberbate overall architecture 24
4.2.2 Hiberbate API and core interface 24-26
the
4.3.Hibernate persistent application 26-36
4.3.1 Hibernate configuration 26-28
4.3.2 database persistence 28
4.3.3 object-relational mapping 28-36
4.4 database via Hibernate various operating 36-39
Chapter online shopping platform design and development 39-79
5.1 requirements analysis and project design 39-46
5.1.1 System Description 39
5.1.2 participant analysis and use case model 39
5.1.2 Process Analysis 39-41
5.1.4 system features modular design 41-42
5.1.5 create objects - mapping file 42-46
5.1.6 java persistent class and database DDL generation 46
5.2 system architecture design 46-48
5.3 source code security 48-55
5.3.1 class protection 48-50
5.3.2 member variables and methods of protection 50-52
5.3.3 Reference types of private member variables protected 52-53
5.3.4 class file loaded from the network resources 53-55
5.3.5 the confusion prevents decompilation 55
5.4 data content protection 55-67
5.4.1 using the symmetric key to encrypt and decrypt 56-59
5.4.2 password-based encryption decryption 59-61
5.4.3 based CBC mode encryption decryption 61-63
5.4.4 using asymmetric key encryption and decryption 63-66
5.4.5 use the message digest save and verify password 66-67
5.5 data integrity and the owners recognized 67-70
5.5.1 using message digest authentication data has not been tampered 67-68
5.5.2 using digital signatures to determine data sources 68-70
5.6 Hibernate to achieve data persistence layer 70-71
5.6.1 configuration database connection pool 70-71
5.6.2 Hibernate configuration file 71
5.7 Struts Framework application 71-79
5.7.1 Struts application configuration the web.xml file 71-73
5.7.2 Struts configuration file struts-config.xml 73-77
5.7.3 Struts controller components 77-78
5.7.4 Struts model components 78
5.7.5 Struts view components 78-79
Chapter VI system applications 79-82
6.1 system environment 79
6.2 part of the system interface 79-82
Chapter VII Summary and Outlook 82-84
7.1 This article summarizes 82
7.2 prospects Looking 82-84
the
References 84-86
Appendix 86-87
Acknowledgements 87
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Retailers Membership Card 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
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Design and Implementation of Huafeng Company Integrated Office System
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- The Design and Realize of Hotel Capital Asserts Management System Base on the J2EE Platform
- Personnel salary management system based on WEB application
- Design and implementation of no warehousing logistics management platform based on SSH
- The Research and Application of Web Framework based on Lightweight J2EE
- RCP-based Integrated Online Teaching and Management System Design and Implementation
- Design and Implementation of Online Shopping System Based on Struts
- Design and Implementation of Personnel Management System
- Design of the Jiujiang Institute of Financemanagement System
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City
- Design and Implementation of Intelligent Management System of Assets
- B/S Based Online Book System Management Module Design and Implementation