Framework for Role Based Web Applications
- Author
- XieTianZuo
- Advisor
- SunJianLing
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP393.092 Web browser
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 134
- Citations
- 0
Abstract
Web-based applications have become the mainstream and best industry practice of this century. More and more sophisticated functions and UI actions are injected into the modem web-based applications. However, limited by the nature of this kind of applications, much redundant work is being done on navigation, security, DB access, logging and cache. Although many design patterns are available to the designers and developers, code can still not be used.This paper is providing a light weight framework for role based web applications, both design and code, to help minimize the effort on designing and coding the navigation, security, DB access, logging and cache modules when developing such an application.It’s a completely configurable framework, by using Reflection and XML technology and many design patterns, nearly 100% of the code is reusable. The developer just needs to work on the configuration files, and then, the whole framework works.A successful project, which monitors the risk of billions of dollars and used this framework, is also introduced to prove it.
Table of contents
1. Introduction 7-11
1.1. Background 7-8
1.1.1. History 7
1.1.2. Market Need 7-8
1.2. Industry Practices 8-10
1.2.1. Industry Progress 9
1.2.2. Popular solutions 9 -10
1.3. Why the framework 10-11
2. Framework Analysis 11-27
2.1. Features of the Framework 11-14
2.1.1. Navigation 11-12
2.1.2. Security 12
2.1.3. Caching 12-13
2.1.4. Logging 13
2.1.5. DB Access (ORM) 13-14
2.2. Design Patterns 14-18
2.2 .1. Intercepting Filter 14-15
2.2.2. Reflection 15
2.2.3. Observer 15-16
2.2.4. Singleton 16-17
2.2.5. Strategy 17-18
2.2.6. O / R Mapping 18
2.3. Technologies 18-26
2.3.1 .. Net 18-20
2.3.2. J2EE 20-23
2.3.3. Others 23-24
2.3.4. Decision on implementing the Framework 24-26
2.4. Feasibility 26-27
3. Framework Design Implementation 27-54
3.1. Big Picture 27-29
3.2. Presentation Layer Sub-Framework 29-40
3.2.1. Pattern Design 29-33
3.2.2. Implementation 33-35
3.2.3. Sample 35-40
3.3. O / R Mapping Sub-Framework 40-42
3.3.1. Pattern Design 40-41
3.3.2. Implementation 41
3.3.3. Sample 41-42
3.4. Cache Sub-Framework 42-45
3.4.1. Pattern Design 42-43
3.4.2. Implementation 43-44
3.4.3. Sample 44-45
3.5. Logging Sub-Framework 45-46
3.5.1. Pattern Design 45
3.5.2. Implementation 45-46
3.5.3. Sample 46
3.6. Overall Control Utilities of the Framework 46-49
3.6.1. Pattern Design 46-48
3.6.2. Implementation 48
3.6.3. Sample 48-49 <br / > 3.7. Third-Party Framework Adoption 49-51
3.7.1. Hibernate 49
3.7.2. Log4j 49-51
3.8 . Un-implemented Sub Framework 51-54
3.8.1. User Activity Monitor 51-52
3.8.2. System Maintenance 52-54
4. Framework Practice - Applied in Real Application 54-62
4.1. Application Introduction 54-55
4.1.1. Application Definition 54
4.1.2. Technical Requirement 54-55
4.2. Framework Adoption 55-60
4.2.1. Application Architecture Design 55-56
4.2.2. Application Modules 56-59
4.2.3. How the Framework Adopted 59-60
4.3. Benefits 60-62
5. Conclusion 62-63
Acknowledgement 63-64
Reference 64-65
Related dissertations
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Design and implementation of educational management information system based on J2EE
- Research and Implementation of Online Enterprise Training System Based on Cooperating Leaning
- Layered Component Based Embedded Real-time Software Framework Design
- Web Application Research and Realization Based on WebWork+Spring+Hiberante Framework
- Research on Enterprise Transaction Platform Based on J2EE and Design Pattern
- The Design and Implementation of a J2EE Based Personal Income Tax Management System
- Construction and Application Based on Lightweight J2EE Framework
- Research and Application Based on Interconnection among Loosely-coupled Web Framework
- Study and Design the Architecture of College Entrance Examination System
- Design & Implemention of Middle School Teaching Management Information System Based on J2EE
- One Type of Framework of Web Application Based on MVC Pattern
- Research and Implementation of Web Application of Integrating WSH Architecture Technology
- Design and implementation of a Web-based application framework for the MVC pattern
- Research on Struts and Hibernate in Enterprise Application
- The Design and Implementation of an Object Persistence Framework and Auxiliary Development Tools Based on O/R Mapping
- Research on ERP Framework Based on J2EE
- Integrated Hibernate, Spring and Struts framework applied research
- Struts Framework Based on MVC Pattern in Application of Management System of after Service for Client
- Research and Implementation of J2EE WEB Application Base on Struts Framework