After the research of middleware, communication mechanism of middleware, MOM technology, XML and JMS Specification, a method of designing and implementing a MOM system based on JMS Specification has been carried out. XML is used as the message transmission form in this system. A design idea about XJMOM architecture, message format and the main class of server has been given. According to the designing, the concrete implementation of the server and the client are given in this MOM system, such as point-to-point and publish/subscribe messaging model, persistent message storing, JNDI service based on RMI communication protocol, thread pool, message transmission based on XML form and the exchanging between initial message and XML message,so information share is implemented better. |