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. |