Font Size: a A A

Design And Implementation Of A Distributed And High-performance Java Message Service System-JTangMQ

Posted on:2007-12-03Degree:MasterType:Thesis
Country:ChinaCandidate:P P PanFull Text:PDF
GTID:2178360182966691Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.Java Message Service (JMS) is a type of MOM implemented by Java. As it has the platform-independent advantage, JMS has been used in many applications. However, the current Java Message Service cannot fulfill the demand of complex applications and the need of sharing data resources via Internet because of its weaknesses in performance and availability.Focusing on the performance and availability limitations of existing Java message services, this paper presents research work on topics as high-performance communication protocol model and its strategy, as well as efficient integration of Java message service with distributed publish/subscribe (pub/sub) message service system. Further more the design and implementation detail of a distributed high-performance Java message service system "JTangMQ" is presented.Chapter 1 gives an overview of middleware. Also some existing Java message service and distributed message service products and related research work are given in this chapter, so that the research topic of this paper is proposed.In Chapter 2 the system framework of centralized JTangMQ is introduced. By comparing and analyzing different architectures of typical JMS systems, the architecture of JTangMQ is proposed. Many efforts are put in order to improve the expansibility of the system: mediator mode is introduced in the client-side design to lower the coupling coefficient between different classes; on communication layer, an extendable framework design will provide the support of multi practical communication protocols; the concept of interceptor is introduced in server-side design so safe and trusted services would be supported. The whole system framework could meet the requirement regarding the extensibility of system service very well.Chapter 3 proposes plans of improving the performance of message network delivery. Research work of selector-based communication protocol model and strategy is presented in this chapter. Selector-based communication protocol implementation model includes data model, entity model and protocol strategy: a unified data format of messagenetwork delivery is defined in data model, while in the entity model the description of data carrier during the network delivery process is given. In communication protocol strategy, the key algorithm of starting protocol and data transferring is given; also the corresponding processes are described as well. Four different kinds of communication protocol strategy are mentioned in this chapter, including starting strategy, connection strategy, data format converting strategy and network transfer strategy.Chapter 4 focuses on the design of the framework that is used to merge JMS and distributed pub/sub message service together, yet solves the problem of insufficient support from distributed pub/sub system to JMS products. A merging topology model on structuralized peer-to-peer (P2P) network is proposed and the concept of merging bridge is introduced to help this process. Distributed JMS implementation is introduced with the concentration on the service availability administrative computing. The implementation of service availability-based strategy doesn't only avoid the congestion brought by single service node design, but also guarantees a secured and valid service to client.Chapter 5 gives the implementation detail of JTangMQ, including programming interface design and performance test. The design of key programming interfaces in every major module is presented and demonstrated. A performance test is applied on JTangMQ as well as certain existing industrial products. The testing samples used for this test all meets industrial standard. The results' comparison indicates that JTangMQ has certain advantage over other products, so as to validate the work of the paper in improving system performance.Chapter 6 summarizes the work in this paper, and proposes some future work.
Keywords/Search Tags:Message-oriented Middleware (MOM), Java Message Service (JMS), Distributed, Peer-to-peer Network, Publish/Subscribe, Service Availability Degree
PDF Full Text Request
Related items