Font Size: a A A

Design And Implementation Of Message Oriented Middleware Based On JMS

Posted on:2019-01-30Degree:MasterType:Thesis
Country:ChinaCandidate:X HuangFull Text:PDF
GTID:2428330545457125Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
As one kind of middleware,message-oriented middleware is between system,network,database and application software.It solves the problem of data exchange in distributed system and heterogeneous platform,and it realizes the efficient and reliable transmission of data.Besides message-oriented middleware improves the performance and dependability of the system,and it greatly reduces the work of the developer.However,because of the lack of unified standards for early message-oriented middleware products,it is difficult to interact with different message-oriented middleware,and the portability of application based on message middleware is not satisfactory.Against this background,Sun Microsystems has developed a loosely coupled method for accessing message systems,JMS.JMS defines a series of Java classes,interfaces,and programming models so that the message middleware products that follow the JMS specification can be interoperable and it solves the problem.Nowadays,most of the providers of messaging-oriented middleware have already provided support for JMS so that it has become an important standard in the industry.In this paper,based on the JMS specification,a implementation scheme of message-oriented middleware is proposed,and then a useful,powerful and functional message middleware is designed and implemented,which named RecMQ.In the design and implementation of RecMQ,many technologies are integrated.The first is Multi-thread management.This paper realizes Multi-thread management through thread pool,which improves the utilization of server resources and the response speed of the client.Secondly,in realizing the message persistence function,this paper implements a lightweight object relational mapping module through the encapsulation of JDBC,and it completes the persistent operation by configuring XML files.This paper also implements a remote call module through integrated reflection,dynamic proxy and socket technology.This module takes the place of the function of the remote call framework RMI,and it does not need various configuration work so that it has higher transmission efficiency when transmitting messages.In security,the message is encrypted by combining the symmetric encryption algorithm 3DES and the asymmetric encryption algorithm RSA to ensure the confidentiality of the message transmission.In addition,the MD5 algorithm is used to ensure the integrity of the message.and the functions of encryption and interest cancellation through the configuration of the XML file are realized.Other modules,such as event monitoring,log management,realize the functions of message monitoring and monitoring and debugging of the system.In this paper,the performance testing tool JMeter is used to analyze RecMQ in many aspects.The test results prove RecMQ has a high-performance.At Last RecMQ is applied to the project practice and it gets good evaluate.
Keywords/Search Tags:Heterogeneous, Java Message Service, Message-oiented middleware, Light-weight persistence, Remote method invocation, Security
PDF Full Text Request
Related items