J2EE Design Patterns and Their Application Realization
- Author
- FengJinHui
- Advisor
- ZhuZuoLiang
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP311.1 Programming
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 400
- Citations
- 20
Abstract
With the development of Object-Oriented technology, it is more and more important to sort and manage the reusable components. And when the research and design of application software goes deep into our normal lives, we can’t resolve all problems if we have only experience. We can get the method of resolving problems from other domain not only from software engineer. The architecture master thinks we must have some patterns when we build an building. And we bring his idea to software design.Design Patterns is an useful case to us. We can get solution from the case, and we can develop it too.To study about design patterns, the most important is to master its design idea, but not to learn a single design pattern instance.Design patterns must be a combination of some single design method. The application must be well design and research with the combination. We construct the whole application system with the big granularity pattern ,and we design any layer and any part of the system with the little granularity pattern.Con-pattern is a wrong or not good solution for an application. We can refactoring the system and gain a good solution. And we can get a new design pattern from the solution.This paper introduce the origin and development situation of design pattern. And then research some pattern in detail such as MVC、 Front Controller、Session Facade、 DAO、 Command 、 Observer 、 Factory. And then analyse the Graduate Selecting Course System and the application with design patterns. This paper also discusses two important technology. One is about database access, and the other is about Refactoring technology. At last, gives a conclusion to this paper and private thought and propose about design pattern.
Table of contents
Abstract 2-3
ABSTRACT 3-6
first chapter 6-15
1.1 design patterns originated 6 - 7
1.2 design patterns development 7-12
1.2.1 creational pattern 9
1.2.2 structural model 9-10
1.2.3 behavioral patterns 10
1.2.4 reverse mode 10-12
1.3 design patterns principle 12-13 <br / > 1.3.1 \ 12-13
1.4 design Patterns ultimate goal 13-15
Chapter J2EE Design pattern 15-35
2.1 MVC design pattern 15-22
2.1.1 Front Controller pattern 17-19
2.1.2 Session Facade pattern 19-20
2.1.3 DAO (Data Access Object) mode 20-22
2.2 Command design pattern 22-24
2.3 Observer design pattern 24-28
2.4 Factory design pattern 28-35
Chapter III detailed design and pattern application 35-50
3.1 system features 35-39
3.1.1 authentication 36-37
3.1.2 querying course information 37
3.1.3 commencement query information 37
3.1.4 political elective course 37
3.1.5 English elective course 37-38
3.1.6 schoolwide public course elective 38
3.1.7 elective courses 38
3.1.8 interdisciplinary elective course 38
3.1.9 withdrawal 38-39
3.2 design patterns 39-50 < br /> 3.2.1 MVC design pattern application 40-44
3.2.2 front control design mode application 44-47
3.2.3 database access mode application 47-50
Chapter key technology and its implementation 50-61
4.1 database access technology 50-54
4.1.1 common database connection method 50-51
4.1.2 Singleton pattern database connection pool to achieve 51-52
4.1.3 database Access mode applications 52 - 54
4.2 Refactoring technology 54-61
4.2.1 Refactoring must follow the principle 55
4.2.2 application Refactoring should consider 55 -56
4.2.3 Refactoring object 56-57
4.2.4 Refactoring implementations 57-59
4.2.5 Refactoring aspects in design mode application 59-61
Chapter Summary and Outlook 61-63
Thanks 63-64
References 64-65
Related dissertations
- Design and Implementation of the City Government Office System
- The Design and Implementation of Pingxiang High Commissioner for Information Release System
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- Design and Implementation of a Recommender System Framework Based on Collaborative Filtering Algorithm
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Development of C Language Program Design of Excellent Course Website
- Design and Implementation of Multilevel Mapping-based Clinical Pathway System
- Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
- Books Management System of Vocational School Based on the J2EE Multi-layer Framework
- Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- Design and Implement of Telematics System Service Center Subsystem
- Design and Implementation of GIS Distribution Network Management System
- Design and application of J2EE persistence layer framework DR-ORM
- Research and Design of ASP.NET Technique-based Training System for Corporate Staff
- Research on the Agricultural Biological Resources Utilization Information System Based on Webgisc
- Research and Application of Enterprise Information System Based on J2ee Architecture Platform
- Design and Implementation of a Mobile Learning System Based on Android Platform