Discussion of Pattern Design about Java and Application of Monitoring in Internet System Project
- Author
- ZhangHongHu
- Advisor
- QinGuiHe
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 144
- Citations
- 1
- UML
- OOD/OOP
- Pattern
- OCP(Open-Close-Principle)
- JNI(java native interface)
- Struts
- CASS(customer access sub-system)
- DSS(distribute Sub-System)
Abstract
Software has the ability of high Reusability and Maintainability. It’s the kernel question to be solved in OOA/OOD. And pattern design is the idea through the process in OOD. When we mention OOD, we will mention many design principles. This paper will give some introduction on it.With the development of software, design pattern is a hot topic now. In the period of software developing quickly, although we have a lot of developing tools and developing item, in fact if we treat software as a project, the successful rate of it is not very high. And some old hands in designing software (not professor, only design software in a long period) lack more systematical and professional ability in some basic aspect of design (Some people among them only refer experience but ignore some more normal methods---usually they have no special time to prepare because they are busy in working and item), and in this way project probably can be finished in time, but the software’s ability of reusability and maintainability will be decreased, which in the period of the process of developing software will make us feel more passiveness in the situation of changing quickly in needing system..In fact , pattern is a method theory to solve the problems of a certain kind. When you sum up and conclude the method to the height of theory, then that is pattern. So pattern is a currency method and step to solve the problems of a certain kind. It initially root in architectonics, which adopt architectural step and method to analyze and dispose software. Generally, pattern is a design method that is used in particular design, relative to general design, but the key point is the process of realizing design. It pay more attention to how to realize but not general summarize. Patten study has existed for some years, and has put forward many patterns. This paper will aim at some kinds of pattern that is used more regularly at the present time to introduce. And bring forward some new pattern combination --combination factory pattern that are adopted to solve this item. The main idea of this paper is how to apply the pattern in common use to the item flexibly. In the end , this paper will describe and introduce the appliance of pattern design in the item of Monitoring on Internet and the whole process of realizing this item. <WP=90>The development of OOP and OOD adopt the design pattern and design ruling. Pattern design gives numerous software designers some standards in the aspect of configuration in reason, reusable easily and maintain easily. Facing object use discrete object to build software system; design pattern make use of object’s inhibition, combination and delegation, which consider problem in a higher layer than OOP. Particularly, using agency to do encapsulation in any unstable and uncertain aspects such as state, establish object, using flat roof and so on, which consequently guarantee the reliable of reusing and design of fountain code. That is, virtual function and polymorphism in OOP implements polymorphism in method and object behavior, but those in design pattern implements creation ,structure and behavior’s polymorphism in higher lever.Monitoring on Internet is a hotter technique inside and outside at the present time, and this item is according to the request of telecom corporation. The design and realization of the whole item are completed by the unit where I practice. Because there are many contents in this item and the technique concerned is very comprehensive, I don’t describe all but some important points. I mainly responsible for the development of CASS(customer Access Sub-system). The second half part of this paper mainly introduce the analysis, design and the whole process of realization of CASS pattern, and introduce how to use these patterns in the process of design. The thesis comprises five chapters.Chapter One attempts to introduce the design pattern of Java , talk about why to use pattern and the many design principles. These include “open-close principles”,“liskov Substitution principles”,“dependence
Table of contents
The first chapter Java schema design of 7-14
1.1 mode of presentation 7-9
1.1.1 mode defined 7-9
1.2 software design principles of the target 9-12
1.2.1 target 9-12
1.3 model types 12-14
1.3.1 architectural pattern 12-13
1.3.2 Design Patterns 13-14
Chapter II of several commonly used design patterns introduced 14-29
2.1 Factory mode 14-17
2.1.1 simple factory pattern and sample 14-15
2.1.2 abstract factory pattern and sample 15-17
220 singleton mode 17
2.3 build mode 17-18
2.4 adapter pattern 18-20
2.5 compositing mode 20-24
2.6 proxy mode 24-25
2.7 facade mode 25
2.8 Strategy Pattern 25-27 <br / > 2.9 multi-layer combination of factory mode of presentation and application of the integrated model and mode comment 27-29
in the third chapter of the Internet monitoring system project - the overall design of part 29-44 < br /> 3.1 module introduces 29
3.2 Task Overview 29-30
3.2.1 Requirements analysis and system goals 29-30
3.3 overall design 30-44
3.3.1 the overall structure and module external design 30-31
3.3.2 Architecture Design Application MVC architecture using Struts technology 31
3.3.3 Overall design processes brief 31-36
3.3.4 function assignment 36-44
Chapter mode, the detailed design analysis 44-80
4.1 The detailed design analysis: The system architecture uses a multi-layer combination of factory mode (combined with the introduction of client / user) 44-51
4.1.1 Analysis 44
4.1.2 built 44-45
4.1.3 Design Description 45-48
4.1.4 to achieve some of our customers / operator / administrator to add the implementation process 48-51
4.2 detailed design analysis 2: the the SINGLETON mode design database connection 51-52
4.2.1 Analysis 51
4.2.2 Design and Implementation 51-52
4.3 detailed design analysis of the proxy mode permissions handling 52-59
4.3.1 Analysis 52
4.3.2 Design Notes 52-56
4.3.3 to achieve some of our customers / users authorize detailed design 56-59
4.4 detailed design: the combination mode, the construction mode of the interface communication class design 59-80
4.4.1 Analysis 59
4.4.2 Design Description 59-65
4.4.3 implementation process visit the request process, detailed design 65-69
4.4.4 browser to cancel the process of detailed design (CASS to) 69-70
4.4 .5 the detailed design of the control process (CASS to) 70-74
4.4.6 recording process of the detailed design (CASS to) 74-76
4.4.7 video to stop the process detailed design (CASS to) 76-77
4.4.8 video playback process of detailed design (CASS to) 77-80
Chapter critical technology solutions and interface technology deal with 80-84
5.1 Technical description 80
5.2 The project needs 80-81
5.3 solutions and processes 81 -84
Chapter VI Conclusion 84-85
thank 85-86
References 86-87
Abstract 87-89
ABSTRACT 89-91
Related dissertations
- Design and Implementation of Shooting Teaching Management System Based on J2EE Architecture
- Research and Implement of Mobile Services System of Cluster Library Based on J2EE Architecture
- The Design and Implementation of Personal Achievement Inquiry System for Jinan Runfeng Bank
- Design and Implement of Beijingtimes Newspaper Content Publishing System
- The Design and Implementation of Commerce Foreign Language Grade Examination Online Registration System for Shandong Province
- Research on the Realization Route of Urban-rural Integration of Pension Insurance System of China
- An Analysis on the Tourism Urbanization and It’s Pattern in Urumqi
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Research of SLS Enterprise’s Labor and Employment Pattern
- Study on Lean Tracking Services Model of YR Management Consulting Company
- Study on the Pattern of Internal Auditing for Yunnan Power Grid Corporation
- Situation Analysis and Strategies for Evelopment of Apple Modern Industry of Qianyang
- Research on Land Regulation Partition in Liu An City
- Study on the Situation in Anlu City, the Land Sirculation Problems and Countermeasires
- Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- Design and Implementation of Finance Forum Web System
- Design and Implementation of Huafeng Company Integrated Office System
- Analysis of Entry Point of Foreign Exchange Transactions Based on Collaborative of Indicators in Different Scales
- Study on conversion and UML testing and model based on AADL