Research and Application of Agile Web Architecture Based on J2EE Light-Weight Framework

Author
YinZuo
Advisor
FuZuo
School
Chongqing University
Major
Computer Software and Theory
Classification
TP311.10 Programming
Degree
Master's thesis
Year
2008
Downloads
160
Citations
2

Request the full text

Abstract

At present, with the rapid development of Internet technology, Web application has covered every walk of life. In this context, the realization of the basic function has no longer meets the needs of the users. The users want more sophisticated functions, more humanized details, and so on. But usually those requirements can not be got in the initial needs analysis at one time, which led to the frequent requirements changes in the development process.Therefore, the shortcomings of the traditional architecture emerged. Usually the architecture is designed by the architect before the start of the design; once the system development begins, the architecture is difficult to change. so that limits the individual brilliance of the programmers, and make itself clumsy and routinism, and all those lead to the slow process of development. The agile development has advantages in these areas, but it has weak strutcture and it is difficult to provide large-scale complex environment. All this means that if the architecture can integrate the characteristics of agile development,it will help a lot in the large and medium-sized Web application development which have frequent requirements changes.In order to make the architecture agile, many of the organizations or teams carried out lots of related practice and research. In them IBM agile expert Scott W. Ambler raised AMDD (Agile Model Driven Development), which detailed the life cycle of agile architecture, have a very good reference value. In addition the use of lightweight framework also makes the Web architecture has some features of the agile development, such as few intermediate product, simple design, and so on.This paper is about the applied research in connection with the agile Web architecture, the architecture is based with the J2EE lightweight framework. This paper first introduces and analyzes the background technology which is used in the study; after that the paper will focus on the design of the agile Web architecture. It first combines with the characteristics of Web architecture and agile development to raise the architecture design objective, then analyzes the difficult points; following that, it draws on some view of the AMDD, to propose an Agile Web Architecture Based on J2EE Light-Weight Framework, whose main context is the design of the life-scale model and general architecture. Carring out agile development thoughts, this Architecture iterates the architecture along with the frequent requirements changes. For the concrete implementation, be different from AMDD, in the system design stage iteration 0 of the agile Web architecture, it dose not re-design a original architecture based on the original demand, but use a lightweight_framework _integrated general architecture combining some of the basic needs to design one, the follow-up processes are carried out on the original structure. This paper choses Struts, Spring and Hibernate to build a general architecture, and has a specification of the reason why these framework are chosed, the framework integration method and levels design details. In order to illustrate the architecture process, and to verify the value of architecture, this paper introduces the architecture design process of a scientific research management system in detail, in which the agile Web architecture proposed by this paper has full expression.Finally, according to the system performance test and the comparison with the development of a similar system using traditional architecture, this paper comes to the conclusion that compared to the traditional architecture the agile Web architecture based on J2EE light-weight framework has some advantages. That is what makes this paper valuable.

Table of contents

Abstract 4-5 ABSTRACT 5-11 1 Introduction 11-15 1.1 project background and significance 11-12 1.2 research status 12-13 1.3 thesis briefs 13-14 1.4 Thesis Organization 14-15 2 Background Introduction Analysis 15-31 2.1 Introduction 15 2.2 Agile 15-19 2.2.1 Agile Overview 15-17 2.2.2 XP introduced 17-18 2.2.3 Agile Model Driven Development 18-19 2.3 J2EE hierarchy and MVC pattern 19-21 2.3.1 J2EE hierarchy 19-20 2.3.2 MVC pattern 20-21 2.4 lightweight framework 21-22 2.4.1 framework concept 21 2.4.2 heavyweight and lightweight 21 2.4.3 J2EE lightweight framework 21-22 2.5 Struts framework 22-24 2.5.1 describes the various components 22-23 2.5.2 Struts workflow 23 2.5.3 Advantages and Disadvantages of 23-24 2.6 Spring Framework 24-27 2.6.1 Spring Introduction 24-25 2.6.2 IOC and Spring 25-26 2.6.3 AOP and Spring 26 2.6.4 Advantages and Disadvantages of 26-27 2.7 Hibernate Framework 27-30 2.7.1 Hibernate Profile 27-28 2.7.2 Hibernate Core Interface 28-29 2.7.3 Advantages and Disadvantages of 29-30 2.8 Summary 30-31 3 Agile Web architecture design 31-43 3.1 Introduction 31 3.2 Agile Web-based goals and difficulties 31-33 3.2.1 Agile Web architecture design goal 31-32 3.2.2 Agile Web architecture difficulty 32-33 3.3 LAWA lifecycle model design 33-35 3.3.1 LAWA life cycle model proposed 33-34 3.3.2 LAWA life cycle models describe 34-35 3.4 based on J2EE lightweight framework to build a common architecture 35-41 3.4.1 General framework requirements and framework select 35-36 3.4.2 General framework of the overall design 36-37 3.4.3 General architecture integrated solution 37-38 3.4.4 General framework described in detail at various levels 38-41 3.5 Test Driven Development 41-42 3.6 Summary 42-43 4 Case System : system design stage 43-55 4.1 Introduction 43 4.2 Introduction 43-44 4.3 system follows the standard 44-45 4.4 System Applications 45-46 4.5 System Requirements 46-47 4.5.1 Functional Requirements 46-47 4.5.2 Non-functional requirements 47 4.6 original architecture to achieve 47-54 4.6.1 System Design 48 4.6.2 project directory structure 48-49 4.6.3 domain model layer implementation 49-50 4.6.4 performance level achieved 50-51 4.6.5 Yewuluojiceng achieve 51-53 4.6.6 durable layer 53-54 4.7 Summary 54-55 5 Case System : System development stage 55-63 5.1 Introduction 55 5.2 Test Driven Development Practice 55-57 5.2.1 persistence layer 55-56 5.2.2 business layer 56-57 5.2.3 Presentation Layer 57 5.3 architecture reconstruction 57-60 5.3.1 Example one : Dao and Service functions reconstruction 58-59 5.3.2 Example two : DWR framework introduces 59-60 5.4 stable framework 60-61 5.5 running instance schematically 61-62 5.6 Summary 62-63 6 performance testing and analysis and comparison 63-68 6.1 Introduction 63 6.2 performance test 63-66 6.2.1 Test Case 63-64 6.2.2 scene setting and operating results 64-66 6.3 Comparative analysis 66-67 6.4 Summary 67-68 7 Conclusion 68-69 7.1 thesis work summarizes 68 7.2 Future research prospects 68-69 Thanks 69-70 References 70-73 Appendix 73-75

Related dissertations

  1. Implementation of Visualization System on Uncertain Functions
  2. Research on CMMI-based Software Agile Development
  3. Research and Implementation on Project Management System Based on Scrum Development
  4. Speech Assistant System Design and Implementation
    ZhuMin ·Shandong University ·2013 ·Master's thesis
  5. Realization and Optimization of McWiLL Terminal’s Physical Layer Communication Framework
    LunGuiYang ·Harbin Engineering University ·2013 ·Master's thesis
  6. Research on the RF Power Amplifiers for TDD Systems
    ZhangYing ·Ningbo University ·2013 ·Master's thesis
  7. "Navidog" Product Design R&D Project Quality Management Research
    WangGuoYang ·Jilin University ·2012 ·Master's thesis
  8. Design and Implementation of Generic OAM Based on Resource Architecture
  9. Design and implementation of dental clinic information management system based on Agile Development
    SunXinZuo ·Fudan University ·2011 ·Master's thesis
  10. Application and Practice of Agile Development in ETJU Enrollment Management System
    LuZuo ·Tianjin University ·2012 ·Master's thesis
  11. Application of Domain Driven Design in ERP system
    ShenChengLei ·Fudan University ·2011 ·Master's thesis
  12. Design and implementation of electronic commerce system based on SSH2 architecture
    ZhangLei ·Heilongjiang University ·2011 ·Master's thesis
  13. Design and Implement of Agile Project Progress Tracking System Based on Rally
    CaoZhiPu ·Beijing Jiaotong University ·2012 ·Master's thesis
  14. The Solutions of CMMI and Agile Development in ZZNode Ltd
  15. Automated Testing Framework Designing and Implementing Based on Django
    ZhaoYing ·Dalian University of Technology ·2012 ·Master's thesis
  16. Application of Scrum in Software Development Management
    ZuoShuo ·Tianjin University ·2012 ·Master's thesis
  17. The research and application of agile development method in the construction of inspection and quarantine inspection express system
  18. Design and Implementation of the Cross-Lib Book Management System Based on.Net
  19. Implementation of the Registereditor System Based on Agile Development Model
    WangFang ·Wuhan University of Technology ·2013 ·Master's thesis
  20. Picture Product Design and Implementation Based on Android