The Design of the Message-Middleware Base on JMS
- Author
- ZhangFan
- Advisor
- LiuQuan
- School
- Wuhan University of Technology
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 142
- Citations
- 3
Abstract
With the rapid development of Internet, application integration under distributed computing environment has become more and more widely used. Middleware is an important approach to achieve cooperation among applications. Message-oriented Middleware(MOM) can provide flexible, effective and reliable asynchronous messaging mechanism for distributed enterprise applications.Message-oriented middleware(MOM) is a special middleware based on message-transmission, effective and reliable message transmission for communication across heterogeneous platforms can be provided by it. Distributed systems can interact and be integrated on the way of data communication by MOM. Java Message Service(JMS) is a specification for MOM based on Java Language Protocol, and was created by Sun Microsystems. It makes the heterogeneity of network programming language, OS and Database.In view of the current middleware existence of a number of shortcomings, For example, the traditional type of middleware design and development is no uniform standard, various Middleware use proprietary APIs and proprietary protocols, from different manufacturers middleware products is difficult to inter-operate; and because JMS technology development time is not long, in the security, XML support, management tools and support in addition to other than the Java language and other aspects have not yet in-depth research, Based on the study of information technology and JMS Middleware norms on the basis of Design and implementation of a fully consistent with the news of JMS middleware products: FreeJMS.Because the message filter mechanism is not mentioned in JMS specification, and the traditional message filter algorithms based on JMS is inefficient. In the third part, an improved message filter algorithm in JMS is suggested.After the research of MOM technology and JMS Specification, a method of designing and implementing a MOM system based on JMS Specification has been carried out. FreeJMS creates publish/subscribe and point-to-point messaging model, implements all JMS API, provides persistent messaging, message browser and message selector. As a middleware, FreeJMS creates reliable wire-level communication and JNDI service, wraps the lower layer of network and provides interfaces for application layer. Besides, several system services, like garbage collection, event listener and thread pool management are also provides in the product.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter 1 Introduction 9-13
1.1 Introduction 9
1.2 domestic and foreign research and application status 9-10
1.3 Message Oriented Middleware and JMS 10-11
1.4 project purpose, significance, and job content 11-13
1.4.1 purpose and meaning 11-12
1.4.2 thesis work content and organization 12-13
Chapter 2 JMS design principles 13-25
2.1 JMS specification 13-14
2.2 JMS architecture 14-15
2.3 JMS messaging model 15-17
2.3.1-to-point messaging model 15-16
2.3.2 publish / subscribe messaging model 16-17
2.4 JMS message structure 17-20
2.4.1 message header 18
2.4.2 Message Properties 18-19
2.4.3 message selector 19
2.4.4 Message Body 19-20
2.5 JMS API 20-25
2.5.1 JMS control API 20-22
2.5.2 JMS messaging API 22-23
2.5.3 JMS exception API 23-25
Chapter 3 JMS-based message filtering 25-30
3.1 JMS message selector 25-26
3.2 JMS messages in the matching process 26-28
3.3 Improved message filtering algorithm 28-30
Chapter 4 FREEJMS system design and implementation 30-65
4.1 architecture design 30-31
4.2 server-side implementation 31-60
4.2.1 namespace 31
4.2.2 main class 31-34
4.2.3 System Configuration 34-38
4.2.4 RMI Registry Services 38-41
4.2.5 Naming Service 41-47
4.2.6 persistence management 47-49
4.2.7 Managed Object 49-56
4.2.8 event listener 56-57
4.2.9 multithreading management 57-58
4.2.10 log 58-60
4.3 client implementation 60-65
4.3.1 Point to Point mode 61-63
4.3.2 publish / subscribe model 63-65
Chapter 5 Conclusions and Prospects 65-67
5.1 Conclusion 65-66
5.2 Prospects 66-67
References 67-69
Thanks 69-70
authors of papers published during the master's degree 70
Related dissertations
- Research and Design of JMS Based Message-Oriented Middleware
- Research and Implementation of JMS - based messaging middleware
- The Study of Pricing the Equity Index Annuity Based on the Longevity Risk Index
- Research and Implementation of Cloud Computing Platform Monitoring System Based on Publish/Subscribe Technology
- Research on Data Synchronization Mechanism of the Information Repository Federation in Publish/Subscribe Model
- Research on Highly Robust Data Distribution Technology for Dynamic Network Environment
- Research on Route Mechanism of Publish/Subscribe Systems Based on Structured P2P
- Dynamic Topology Strategy Towards Publish/Subscribe Paradigm
- Research and Implementation of a Real-time Embedded Graphics System Based on Asynchronous Communication Control Strategy
- The Design and Realization of Publish/Subscribe Middleware for Wireless Sensor Networks
- Research and application of DDS in environmental monitoring system
- UDP Protocol Realize Point-to-point High-speed Reliable Transmission Model
- Overlay Multicast Routing Based on Cayley Graph
- Based on the Publish-Subscribe Heterogeneous Loosely Coupled Ria Teachnology Data Exchange Platform Application and Research
- PKI System Application Integration Research Based on Publish/Subscribe
- The Design and Implementation of Content-Based Publish/Subscribe Based on B/S Mode
- Design and Implementation of a Data Distribution Middleware Based on DDS
- Research on Caching Algorithm in Publish/Subscribe Network
- Publish/Subscribe Architecture for Wireless Sensor Networks
- Research on the Mobile Operator’s Operation Quality Assessment System