Font Size: a A A

Research And Implementation Of Jms Messaging Middleware

Posted on:2010-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y Y WuFull Text:PDF
GTID:2208360275983643Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Message-oriented middleware is a system software which uses the reliable and efficient message delivery mechanisms to assist the distributed system platform to exchange data. Message-oriented middleware shields the underlying heterogeneous operating systems, network platform, communication protocol and the differences of message format, and provides a consistent means of communication for different applications, and reduces the complexity of developing the application of cross-platform and network protocol. However, because there is no uniform norms and standards, message-oriented middleware are directed at a specific distributed system using a specific protocol and interface, so that message-based middleware applications can not be transplanted, and different message-oriented middleware can not be interoperable, which significantly hinders the development of message-oriented middleware. Java Message Service (JMS) are a interface specification for message-oriented middleware based on Java language protocol, and was created by Sun Microsystems. JMS defines a common set of interfaces and related semantics, and provides message services such as persistence, verification and affairs. JMS not only shields the operating system and hardware differences, but also resolves the problem of interoperability between the heterogeneous message-oriented middleware. At present, JMS has been accepted by the major software companies and open source organizations, and has become the de facto standard in the industrial sector.Based on the analysis and research of the message-oriented middleware technology and JMS specification, this paper designed and implemented a message-oriented middleware system named ncceJMS in line with JMS specification. First of all, this paper discussed the middleware and message-oriented middleware concepts, classifications and functions, and discussed the characteristics of message-oriented middleware and some common message-oriented middleware products, and then analyzed the JMS specification, including JMS message data structure, JMS message transfer mode, various JMS API and JMS programming model. After studying the relevant basis of the theory, this paper proposed a message-oriented middleware system architecture, and separately introduced the design and implementation of the architecture's four-part network communication interface, JNDI server, message server and the client in detail. As a message service system, ncceJMS implemented network communication interface based on TCP/IP protocol, and provided naming and directory services (JNDI), and implemented the JMS specification standard API, and implemented the point-to-point and publish/subscrib message delivery model. At the same time, message server also implemented file-based message persistence, event monitoring mechanism case, flow control, multi-thread management, message filtering and log, providing the quality of the server. Finally, this paper tested the performance of system and introduced the message middleware system the applications of int 863 Project "network collaboration creative environment".
Keywords/Search Tags:Message-oriented middleware, JMS, JNDI, PTP, Pub/Sub, flow control
PDF Full Text Request
Related items