The lightweight J2EE Web application design and development research
- Author
- TianHe
- Advisor
- QinZhiGuang
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.10 Programming
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 164
- Citations
- 4
Abstract
In the field of enterprise application development, J2EE has always been one of the most import industry standards– especially in web application development where J2EE takes most part of the market share. However, EJB-based J2EE application is really not as good as SUN has promised, EJB acutaully has been bringing more disadvantages than benefits. Since 2002, there has been a widely criticism and reflection on EJB in J2EE community; the whole industry is seeking for a new J2EE architecture which is simple and easy-to-use.This is where the so-called“lightweight”frameworks come into play. These frameworks which take the good ideas from .Net and EJB, are gradually taking the place of EJB and getting widely accepted. Still, they are also the focus of this paper.This paper goes through how to build a real J2EE web application using the lightweight methodologies and frameworks. The system is built on those very advanced ideas in the industry and the author’s the experience, not only what and why different technologies and architectures are choosen are discussed, but also implementation details and best practice are included.The paper begins with the introduction of the technical track and architecture of the target system, where basic concepts and technologies are covered; and then, it goes through the implementation of automatic Continuous Integration using Ant; next, the concreate design and implementation details are discussed in three different charpters which corresponds to three different layers of the target system: persistent layer, business layer and presentation layer, some codes are analyzed with the help of UML diagrams; finally, the system’s security framework“AccountSecure”and the design
Table of contents
Abstract 4-5
ABSTRACT 5-10
Introduction 10-16
1.1 subject background <br / > 1.2 domestic and international situation and development direction 10-12
1.3 of the main work 12
1.4 the thesis chapters arrangements 12-14
1.5 shrink Abbreviations are found; 14-16
Chapter II system technology platform and architecture 16-35
2.1 J2EE Platform Overview 16-17
2.2 J2EE WITHOUT the EJB 17-27
2.2.1 true EJB the 17-23 lightweight containers
2.2.2 23-27
2.3 system architecture Analysis 27-31
2.3.1 lightweight container architecture the 28-30 the
2.3.2 system The Structure and Analysis 30-31 <br / > 2.4 J2EE and open source community 31-32
2.5 system software engineering 32
2.6 Summary 32-35
Chapter automated continuous integration 35-45
3.1 continuous integration are found; 35-37
3.1.1 Continuous Integration significance 35-36
3.1.2 automated continuous integration and Ant 36-37
3.2 directory structure of the systems development to write 37-39
3.3 ANT build file 39-43
3.3.1 build. xml file organization and writing 40-42
3.3.2 combined with XDoclet to generate configuration files are found; 42-43
3.4 Summary 43-45
four chapters persistence layer design 45-62
4.1 design goals 45-46
4.2 persistence layer technology choice 46-49
4.2.1 The optional persistence solution 47-48
4.2.2 ORM and Hibernate 48-49
4.3 of the system DAO mode 49-52
4.4 in SPRING HIBERNATE and DAO mode 52-55
4.4.1 Spring data access support 53-54
4.4.2 combined Spring implement the system Data Access 54-55
4.5 to use XDOCLET support 55-60
4.5.1 generate the hibernate.cfg.xml 55-57
4.5 the .2 generate domain model mapping file 57-60
4.6 Summary 60-62
Chapter business layer design 62-75
5.1 Design target 62
5.2 business layer design overview 62-64
5.3 transaction management 64-67
5.3.1 declarative transaction management 65-66
5.3.2 combined with Spring declarative transaction management 66-67
the 5.4 combined XDOCLET and the SPRING Application IOC 67-70
5.5 system security framework 70-71
5.6 page list control nbsp The; 71-74
5.6.1 to use DisplayTag control list showing 71-72
5.6.2 modify DisplayTag source 72-74
5.7 Summary 74-75
Chapter VI display layer design 75-95
6.1 design goals 75-76
6.2 MVC framework choose 76-77
6.3 Design and Implementation 77-93
6.3.1 the Model layer 77-79 < br /> 6.3.2 Controller layer 79-87
6.3.3 View layer 87-93
6.4 Summary 93-95
seventh Chapter ACCOUNTSECURE subprojects 95-107
7.1 subprojects proposed background 95
7.2 design goals the 95-96
7.3 Design and Implementation 96-101
7.3.1 User Authentication 98-100
7.3.2 User access control 100-101
7.4 in the main project subprojects the 101-106
7.4.1 to achieve user authentication 101-103
7.4.2 to implement user access control 103-106
7.5 Summary 106-107
Chapter VIII GENERIC ACCESS model 107-117
8.1 design mode Introduction 107-108
8.2 current problems 108 -110
8.3 based on the the generic new design 110-114
8.4 in SPRING configuration, use the mode 114-115
8.5 Summary 115-117
Chapter Summary and Conclusion 117-119
Acknowledgements 119-120
references 120-121
personal resume during the school research and Awards 121
Related dissertations
- Based on B/S Structure of the Logistics Enterprise Management Information the Design of the System
- The Research and Application of Web Framework based on Lightweight J2EE
- Retailers Membership Card Management System Design and Implementation
- The Design and Implementation of Data Center Management Platform Based on FLEX Technology
- Research and Application Based on SSH2and JBPM for J2EE Develop Platform
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- 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 Design and Implementation of Vehicle Tracking Management System
- RCP-based Integrated Online Teaching and Management System Design and Implementation
- Design and Implementation of Small Business Human Resource Management Information System
- Design and Implementation of the Logistic and Transportation Management System
- Design and Implementation of University Student Employment Information Sharing Platform of Cucn
- Design and Implementation of the Manufacturing Enterprise OA System Based on SSH2Framework
- Design and Implementation of Personnel Management System
- Design and Implementation of Information Management System Spring Based on MVC
- Design and Implementation of China Three Gorges University OA System Based on SSH
- Design and Implementation of Management Information System of Public Security Bureau of Changsha City
- Design and Implementation of Zhejiang Haoleduo Commercial&Trading Co. Ltd. Human Resource Management System (HRMS)