摘要
异步通信做为一种松耦合的分布式通信模式,允许应用程序中的发送方和接收方以相互独立的形式通过交换信息进行通信。考虑到其在企业消息服务中的重要性,为此提出了一种基于JMS和消息驱动Bean的异步通信模型,利用XML封装数据,并结合JMS中"点到点"和"发布/订阅"两种消息通信模式,论述了电子商务中股票信息系统的具体实现,从中可以看出该模型的使用让该系统更加灵活和易扩展,并有效的提高了异步通信的性能和可靠性。
Asynchronous communication is a kind of loose mode of distributed communication system,which permit sender and receiver of application communicate independently via exchanging message.Considering it's importance in enterprise’s message service,so a model of asynchronous communications on JMS and MDB is brought forward here,the model encapsulates data by using XML and integrated the Point-to-Point mode and the Publish/Subscribe mode.the implenentation of stock information system in e-commerce was discussed. In the end,the usage of model makes the system more flexible and extensible and improves the performance and reliability of asynchronous communication effectively.
出处
《微计算机信息》
北大核心
2007年第27期165-167,共3页
Control & Automation
基金
重庆市自然科学基金项目(NO.2005BB2063)