The Design and Implementation of Pub/Sub System’s Framework and Persistence Layer Based on SSH
- Author
- CaoShuangShuang
- Advisor
- LiuYuanAn
- School
- Beijing University of Posts and Telecommunications
- Major
- Electronics and Communication Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 12
- Citations
- 0
Abstract
With the development of the computer and internet technology, and the rapid development of "light" client and "heavy" server software contributes to widely cross-platform systems which accesses servers through the browser. And more and more people need to get real-time data with high Qos, the software based on Publish/Subscribe system has being gotten more and more attention, such as micro letter, m chat. Besides, the information distribution server based on Publish/Subscribe system can satisfy the real-time information processing, providing the loosely coupling service in time and space. According to this situation, the paper mainly improves the publish/subscribe system based on Web mode, and implements the cross-platform information distribution service based on SSH which can be better to meet the market demand.Combining with Struts2, Spring and Hibernate, the paper researches the characteristics of Publish/Subscribe system, and puts emphasis on the value of its practical use, and tries to implement a Publish/Subscribe system based on B/S mode which needs the high real-time performance in the network. The main contribution of the paper is as follows:1. The article proposes a Publish/Subscribe method which contains a lightweight web framework based on MVC. The application control based on Struts2, persistent operation based on Hibernate and business logic control based on Spring are implemented through this method which completes the design of the platform hierarchically based on MVC.2. Around the system solution, a scheme of low coupling Publish/Subscribe and persistence on event data is proposed, and a platform which contains three layers of view layer, business logic layer and persistence layer is built. And the paper establishes a system hierarchical integration platform, which includes the object-oriented data management, database connection pool and business management. Finally, a cross-platform system based on SSH which has Publish/Subscribe function dealing with text is implemented.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-13
1.1 subject background 9 <br / > 1.2 development Status and abroad 9-11
1.3 research 11
1.4 thesis structure 11-13
Chapter II system platform technologies 13-23
2.1 publish-subscribe principle 13-15
2.1.1 publish-subscribe system overview 13-14
2.1.2 OpenDDS 14-15
2.2 Struts2 technology 15-18
2.3 Yewuluojiceng framework 18-20
2.4 persistence layer framework 20-22
2.5 Summary 22-23
Chapter SSH subscription -based publishing platform designed 23-38
3.1 Requirements Analysis 23-26
3.1.1 system functional requirements 23-24
3.1.2 system Requirements Analysis 24-26
3.2 system design 26-32
3.2.1 Web architecture overall design 26-29
3.2.2 SSH-based publish-subscribe design 29-31
3.2.3 after integration architecture features 31-32
3.3 data persistence layer design 32-37
3.3.1 persistence layer model design 32-33
3.3.2 data Persistence layer the detailed design 33-35
3.3.3 data connection management design 35-36
3.3.4 system database design goals 36
3.3. 5 database ER diagrams 36-37
3.4 Summary 37-38
Chapter SSH -based publish-subscribe system platform to achieve 38-67 <br / > 4.1 release Subscribe to achieve 38-42
4.1.1 system main modules and features 38-39
4.1.2 publish / subscribe process 39-40
4.1.3 release process implementation 40-41
4.1.4 subscription process implementation 41-42
4.2 presentation layer to achieve 42-43
4.3 Yewuluojiceng achieve 43
4.4 data persistence layer implementation 43-54
4.4.1 data Dictionary 44-46
4.4.2 data Association 46-50
4.4.3 domain model implementation 50-53
4.4.4 DAO interfaces and implementation 53-54 <br / > 4.5 system integration to achieve 54-64
4.5.1 presentation layer and business logic layer integrated 55-59
4.5.2 integrates business logic layer and data persistence layer 59-64
4.6 system shows 64-66
4.7 summary 66-67
Chapter summary and Outlook 67-69
5.1 The main work 67-68
5.2 next work plan 68-69
References 69-71
Appendix 71-75
Thanks 75