JAVA lightweight architecture in the e-commerce system and achieve

Author
ZhangGuoYin
Advisor
LiuHui
School
Kunming University of Science and Technology
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
153
Citations
0

Request the full text

Abstract

In recent years,there has been greater demands for application Systems based on Web to meet more complicated requirements,shorter R & D time.So the application of Web which has better development,maintainability,expansibility,repeatability and easy management,is the hotspot of the Web technology.At present according to the Web application of J2EE terrace at logical is been divided into 4 F generally:Domain Model Layer,Presentation Layer,Business Layer and Persistent Layer.This kind of multi-layer system structure provided 1 kind according to the module toward the developer of the mold piece of design and development Web application turn a method.Applied carry out of each layer of system technique is varied and grow techniques to all have it the merit and shortcoming each time with the most suitable use of scope,how choose each technique and how combine these techniques to carry out an applied system is a worthy of consider further of problem.This text mainly aims at to mean a layer,business layer with held out for long time the realization of layer to put forward according to the Struts+Spring+Hibernate solution.Struts is a framework of implementing MVC pattern and strives for reusing module and code,it relieves burden for constructing Web application by its flexible and powerful function.Differentiating strong invasion of EJB,Spring which is a lightweight container is designed with dependency injection and can make component loose coupling dynamically and compatible with other framework.Hibernate is an open source persistence framework,which entirely reduces the complexity of maintaining data and make system have higher performance and portable.The paper is based on the Web development methods of J2EE architecture.Firstly,discuss the MVC module and the discuss of internal mechanism of Struts architecture which implementing MVC pattern;Secondly,I applied the Struts to the presentation layer,applied the Hibernate to the persistence layer,applied the Spring to the business layer,conformed in framework and constructed a flexible,loosely coupled,extensible and high performance developing architecture.Finally,an example based on Liang Zhuang E-Commerce System is introduced to illustrate the process to build an multi-tiers system with the help of the architecture.Results show that this new framework helps to increase work efficiency in exploration.Meanwhile,expansibility and maintainability of the system within this framework are also satisfactory.

Table of contents

Abstract 3-4 Abstract 4-6 directory 6-8 first chapter 8-12 1.1 topics background 8-9 1.2 Research 9-10 1.3 This topic's significance and main content 10-12 1.3.1 this topic significance 10-11 1.3.2 of this thesis chapters 11-12 second chapter MVC Pattern and Struts framework 12-22 2.1 MVC design pattern 12-13 2.2 J2EE MVC model introduced 13-14 2.3 framework outlined 14-15 the MVC mechanism for 2.4 Struts framework 15-17 2.5 Struts working mechanism 17-21 2.6 Struts framework the response requested workflow 21-22 Chapter ORM mode and Hibernate frameworks 22-36 3.1 object persistence mode 22-25 3.1.1 JDBC to access the database directly 22-23 3.1.2 Active domain object mode 23 3.1.3 CMP mode 23-24 3.1.4 JDO mode 24 3.1.5 ORM mode 24-25 3.2 Hibernate Framework architecture 25-28 3.3 Hibernate mapping mechanism 28-31 3.3.1 object - relational mapping 28-29 3.3.2 association mapping 29-31 3.4 Hibernate persistence to achieve 31-36 3.4.1 entity object lifecycle 31-32 3.4.2 Hibernate data cache 32-36 3.4.2.1 Data Cache Overview 32-33 the the 3.4.2.2 data cache management strategy 33-34 3.4.2.3 Hibernate data cache hierarchy 34-36 Chapter the IoC mode with the Spring Framework 36-50 4.1 Spring framework system structure 36-38 4.2 IoC (Inversion of Control) mode 38-41 4.3 AOP (Aspect Oriented Programming) 41-50 4.3.1 AOP concept 41-43 4.3.2 Spring AOP 43-45 the 4.3.3 Spring in the Bean 45-50 4.3.3.1 BeanWrapper 46 4.3.3.2 BeanFactory 46-47 4.3.3.3 Bean lifecycle 47-50 Chapter e-commerce system architecture design and realization 50-81 5.1 SHS framework-based Web architecture design 50-58 5.1.1 Architecture design goals 50-51 5.1.2 Web application hierarchy 51-53 5.1.3 SHS architecture overall design 53-57 5.1.3.1 presentation layer design 54 5.1.3.2 business layer design 54-56 5.1.3.3 persistence layer design 56 5.1.3.4 domain model layer design 56-57 5.1.4 SHS architectural features 57-58 5.2 System Requirements Analysis 58-64 5.2.1 System Description 58 5.2.2 system use case model 58-59 5.2.3 system module 59-64 5.2.3.1 front sales subsystem 59-61 5.2.3.2 backstage management subsystem 61-64 5.3 system to achieve 64-80 5.3.1 Database Design and Implementation 64-66 5.3.2 project directory structure 66-67 the 5.3.3 domain model layer implementation 67-69 5.3.4 presentation layer to achieve 69-73 5.3.5 Business Logic Layer 73-77 5.3.6 persistence layer to achieve 77-80 5.4 system features 80-81 Chapter Summary 81-82 Acknowledgements 82-83 the References 83-85 the papers nbsp Appendix A degree during; 85

Related dissertations

  1. Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
  2. Design and implementation of no warehousing logistics management platform based on SSH
  3. Retailers Membership Card Management System Design and Implementation
  4. Design and Implementation of Personnel Management System
  5. Design and Implementation of Management Information System of Public Security Bureau of Changsha City
  6. The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
    TaoHuaXian ·Shandong University ·2013 ·Master's thesis
  7. The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
    TangZhenFeng ·Shandong University ·2013 ·Master's thesis
  8. The Implementation of Office Automation Based on Osworkflow and Open Source Frame
  9. The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
    RenHaoRan ·Shandong University ·2013 ·Master's thesis
  10. Research and Design of SSH-based University Equipment Share Management Platform
    YanZePing ·Anhui University ·2013 ·Master's thesis
  11. The Design and Implementation of Housing Rental Information Management System Based on J2EE
  12. The Application of an Improved Access Control Model in Authority Management Module
    HuangYi ·Hunan University ·2010 ·Master's thesis
  13. The Design and Implementation of Site Information Management System for 3G Network
  14. Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
    WangCheng ·Jilin University ·2012 ·Master's thesis
  15. Research on the Traditional Chinese Medicine Product Management System on Spring
    ZhangYaZuo ·Agricultural University of Hebei ·2012 ·Master's thesis
  16. Design and implementation of assets management system based on B/S framework of enterprise
    WangMin ·Fudan University ·2011 ·Master's thesis
  17. The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
    MaXuan ·Lanzhou University ·2012 ·Master's thesis
  18. Design and implementation of community management and exchange platform based on JAVA
    ChenWei ·Yunnan University ·2012 ·Master's thesis
  19. The Design and Implementation of Port Security Management Information Systems
    MaBing ·Beijing Jiaotong University ·2012 ·Master's thesis
  20. The Design and Implementation of Personnel Management System Based on SSH
    DaiQing ·North China University of Technology ·2013 ·Master's thesis