XML-based message queue middleware design and implementation
- Author
- YuCaiRong
- Advisor
- DaiGuanZhong
- School
- Northwestern Polytechnical University
- Major
- Control Theory and Control Engineering
- Classification
- TP393 Computer network
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 206
- Citations
- 6
- Message-oriented middleware (MOM)
- Message queue
- Extensible Mark Language (XML)
- communication protocol
- event driven
- Client/Server(C/S)
Abstract
With the rapid development of computer network technology, distributed application systems have been widely used. But they are insufficient to satisfy today’s communication requirements when the network environment is more and more complicated. As an efficient way, Message-oriented Middleware (MOM) can solve the distributed network communication problems. In this dissertation, XML-based Message Queuing Middleware system is proposed.First, XML technique is adopted to express message as XML documentation To satisfy the requirements of C/S network communication system, a message transport protocol is brought forward for package and transport of all the data over a steady TCP socket, which is applied to asynchronous, secure and reliable communications.Then, a priority message queue is designed, and Weighted Fair Queuing (WFQ) algorithm is used for messages queuing.Finally, the architecture of the Message-Oriented Middleware is presented, which is composed of transfer module, queue manager module, secure module and log module.MOM hides the details of network communication, and presents an API for application programmers to facilitate message exchange in an asynchronous and secure style. Furthermore, it achieves loosely couple between client and server via message queue. MOM is put into practice to develop enterprise scale three-tier (or more) client/server applications.
Table of contents
The first chapter 7-11
1.1 web application model development 7-8
1.2 Distributed network communication challenges 8
1.3 issues raised 8-9
1.4 This topic content 9-11
Chapter relevant technical background 11-22
2.1 middleware 11-13
2.1.1 middleware definition 11-12
2.1.2 middleware classification 12-13
2.2 middle of a message piece 13-17
2.2.1 Definition of message middleware 13-14
2.2.2 messaging middleware classification 14-16
2.2 .3 messaging middleware advantages 16-17
2.3 JAVA language 17-19
2.3.1 Java Features 17-18
2.3. 2 Java asynchronous IO 18-19
2.4 XML 19-22
Chapter communication protocol 22-31
3.1 news 22-26
3.1.1 message format 23-25 ??
3.1.2 message Processing 25-26
3.2 connection 26-28
3.2.1 Socket 26-27
3.2.3 connection initialization and termination 27-28
3.3 protocol parameters 28-29
3.3.1 Acceleration Hints 28
3.3.2 message Priority 28-29
3.5 security mechanisms 29-31
3.5.1 target 29-30
3.5.2 method 30-31
Chapter message Queue 31-39
4.1 message queue description 31 -33
4.1.1 model Introduction 31-32
4.1.2 queuing theory 32-33
4.2 JXMQ design 33-34 < br /> 4.2.1 request / response message queue 33
4.2.2 queue implementation 33-34
4.3 JXMQ queuing theory 34-37
4.3.1 WFQ principle 34-35
4.3.2 principle improve 35-36
4.3.3 parameter Design 36-37
4.4 synchronization mechanism 37-39
Chapter JXMOM design and Implementation 39-65
5.1 design 39-42
5.1.1 traditional network server design 39-40
5.1.2 event-driven 40-42
5.2 structure and working principle 42-43
5.3 listener the structure and working principle 43-48
5.3.1 Reactor pattern ( reactor mode ) 43-44
5.3.2 asynchronous IO 44-46
5.3.3 Reactor pattern design using the listener 46-48
5.4 queue manager 48-55
5.4.1 message queuing module 49 -50
5.4.2 management Module 50
5.4.3 message Processor 50-53
5.4.4 specific design 53-55 < br /> 5.5 object pool technology (OBJECT POOL) 55-59
5.5.1 pooling 55
5.5.2 object pooling component 55 - 56
5.5.3 pooling classification 56-57
5.5.4 pooling achieve 57-59
5.6 security module 59 - 63
5.6.1 target 59
5.6.2 method 59-60
5.6.3 negotiation process 60-61
5.6 .4 message encryption 61-62
5.6.5 modules 62-63
5.7 log module 63-65
Chapter VI Conclusion 65-69
6.1 Summary 65-66
6.2 The next step 66-69
References : 69-71 <br / > Thanks 71-72
Related dissertations
- Determinants of High Stock "Splits"Announcements in Chinese Stock Market
- Design and Research of Data Acquisition System of Current Meter
- Research and Implementation of Mobile Equipment Middleware of Message Based on Openstack
- Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
- Development of Test Resource Interface Specification Inspection Equipment
- Design and Implementation of Distributed File System for Proxy Services
- The Research of Wireless Broadband Elevator Emergency Communication System Terminal
- Research of Multi-User Underwater Acoustic Cooperative Communication Based on MMSE-DFD Algorithm
- The Development of Control System of Lighting Based on Power Line Carrier Communication Technology
- Software Design of Dual-stage Based on Real-time Operating System Vxworks
- Indoor Dimming Control System Based on Power Line Carrier
- Practical Research on Merging Unit Based on IEC61850
- Research of Household-Type Photovoltaic Inverter Software System
- The Design and Applications of Automatic Engine End of Line (EOL) System
- Research and Design of CAN Bus Network Architecture for Electric Vehicle
- Development and Simulation of Automotive Immobilizer System Based on CAN Bus
- Key Technology Design of Automotive Body Network
- For the design and implementation of portable tester GPS vehicle terminal.
- Design and Verification of the CVIS Data Exchange Standards
- Research of GPRS Technology Applied in Urban Rail Train Monitoring System for Critical Equipment