J2EE Based WAP Application Architecture Design and Development
- Author
- GuQuanYou
- Advisor
- WangEnBo
- School
- North China University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 182
- Citations
- 3
Abstract
The traditional approach to J2EE architecture has often produced disappointing results: applications that are more complex than their business requirements warrant, show disappointing performance, are hard to test, and cost too much to develop and maintain. In this article, several architecture solutions have been discussed. The "Lightweight Container" Architecture is introduced.using this Architecture to develop sysytem is very easy, high productive,OO design,easily extended,easily maintained, performance stablity,portable and so on.In this article, developing J2EE based WAP platform is to reasearch the "Lightweight Container" Architecture and its application.The article’s main content as follows.1、 J2EE platform and J2EE architecture technology. Four different Architecture have been introduced , two of them use EJB,another two of them don’t use EJB. The first Architecture is classic J2EE architecture,It uses romote EJB and entity bean. The second Architecture is local EJB Architecture, it use local EJB. The third Architecture is not EJB architecture, but also customed one. The fourth architecture is "Lightweight Container" Architecture, which is used to develop WAP platform system in this article.2、 WAP platform Architecture design. WAP application Architecture adopts J2EE "Lightweight Container" Architecture. The Architecture can be divided into four layers. These layers are the presentation, persistence, business, and domain model layers. For the presentation layer we will use Struts, and in details the Struts framework system structure, the framework’s Action, Form Bean, Servlet, Jsp and their relations will be explained. For our business layer we will use Spring, POJOs will be acted as business beans , we will adopt interface oriented technolgy,adopt Spring IoC to manage business beans,adopt Spring AOP to provide declarative transaction management. For our persistence layer we will use Hibernate, the Hibernate framework system structure and it’s use in the system will be explained. We will describe DAO pattern, its advantages and its use in the system. The Domain Model Layer consistents of all domain objects, domain objects act as data traffic carrier between each layer.3、 WAP platform particular design.WAP platform system is divided into background content management and WAP front. WAP background content management consists of loginlogout module, product management, content management module, items management module. We will in detail describe the functions of each module in WAP platform system and database design.4> WAP platform implemention .We will describe the implemention class structure of WAP platform and each module implemention.To sum up, the "Lightweight Container" Architecture is the first choice Architecture of small or medium system .The systems using the Architecture to develop is low coupling, and high cohesion. We will construct information system, which have performance stable,effective production,easily maintained,easily developed,easily tested,portable advantages.
Table of contents
Abstract 4-6
Abstract 6-12
Introduction 12-15
1 J2EE technology and MVC architecture pattern 15 - 21
1.1 basic Concepts 15-16
1.1.1 design Patterns 15-16
1.1.2 framework 16
1.1. 3 Architecture (Architecture) 16
1.2 J2EE architecture 16-17
1.3 MVC model 17-21
1.3.1 JSP development model Model1 17-18
1.3.2 JSP development model Model2 18-19
1.3.3 MVC pattern 19-21
2 overall system design 21-59
2.1 system architecture analysis 21-22
2.1.1 system Features 21
2.1.2 system design principles 21 -22
2.2 system Architecture 22-23
2.2.1 system Architecture Master Plan 22-23
2.3 presentation layer 23-29 <br / > 2.3.1 Presentation Layer concepts and issues 23-24
2.3.2 The presentation layer solutions 24
2.3.3 Struts framework 24 <br / > 2.3.4 Struts framework in the system application 24-27
2.3.5 filter Mode 27
2.3.6 filters in the system to achieve 27-29
2.4 business layer 29-49
2.4.1 business layer and its characteristics 29-30
2.4.2 business layer problems 30
2.4.3 IoC pattern 30-33
2.4.4 AOP aspect Oriented Programming 33-35
2.4.5 Spring application framework 35
2.4.6 DAO mode 35-40
2.4.7 business layer design 40-41
2.4.8 Spring framework practical application 41-49
2.5 persistence layer 49-57
2.5.1 ORM ( object Relational Mapping object Relation mapping) 50
2.5.2 ORM solutions 50-51
2.5.3 Hibernate framework 51-52
2.5.4 Hibernate in the system 52-55
2.5.5 Bean container the Hibernate resource declaration 55-57
2.6 domain object layer (Domain Layer) 57-59
2.6.1 domain object state diagram 58-59
3 system detailed design 59-72
3.1 system module analyzes 59-60
3.1.1 WAP application backend content management module division and functional overview 59-60
3.1.2 WAP application foreground module division and functional overview 60
3.2 system database 60-62
3.3 login / logout module design 62-63
3.3.1 function description and explanation 62
3.3.2 related database table 62-63
3.4 system management module design 63
3.4.1 function description and explanation 63
3.4.2 related database table 63
3.5 content management module design 63-67 < br /> 3.5.1 resource categories configuration 64
3.5.2 resource subcategories configuration 64
3.5.3 mobile resource Allocation 64-65 <br / > 3.5.4 handset vendor configuration 65
3.5.5 resource Dimensions configuration 65-66
3.5.6 phone type configuration 66
3.5 .7 content configuration 66-67
3.6 column management module design 67-68
3.6.1 function description and explanation 67
3.6.2 related database table 67-68
3.7 product management module design 68-70
3.7.1 function description and explanation 68-69
3.7. two related database tables 69-70
3.8 WAP application foreground design 70-72
4 system Implementation 72-78
4.1 system implementation 72-73
4.2 presentation layer to achieve 73-74
4.3 business layer to achieve 74-75
4.4 system DAO implementation 75 -76
4.5 persistence layer to achieve 76-78
5 system test 78-84
5.1 test environment 78
5.2 WAP front show 78-79
5.2.1 WAP product List 78
5.2.2 WAP content 78-79
5.3 WAP manage 79-84
5.3.1 login screen background 79
5.3.2 background The main interface 79-80
5.3.3 product Management 80 -81
5.3.4 user Management 81
5.3.5 role Management 81-82
5.3.6 Local management 82
5.3.7 mobile resource allocation 82-83
5.3.8 content-Disposition 83-84
Conclusion 84-86
References 86-89
learning research 89-90
Thanks 90
Related dissertations
- Design and Implementation of Foreign Teachers Management Information System
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- Design and implementation of no warehousing logistics management platform based on SSH
- Retailers Membership Card Management System Design and Implementation
- Design and Implementation of Personnel Management System
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City
- The Design and Implementation of Agricultural Information Service Platform of Wei Fang City
- The Design and Implementation of Tobacco Monopoly Bureau Internal Control Information System for Shandong Province
- The Implementation of Office Automation Based on Osworkflow and Open Source Frame
- The Design and Implementation of Apartment Security Management System for Qujing City Kirin Area
- Research and Design of SSH-based University Equipment Share Management Platform
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- The Application of an Improved Access Control Model in Authority Management Module
- The Design and Implementation of Site Information Management System for 3G Network
- Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
- Research on the Traditional Chinese Medicine Product Management System on Spring
- Design and implementation of assets management system based on B/S framework of enterprise
- The Design and Implementation of a Management Platform of Service in the Catering Industry Based on SSH2Frame Mode
- Design and implementation of community management and exchange platform based on JAVA
- The Design and Implementation of Port Security Management Information Systems