首页 | 本学科首页   官方微博 | 高级检索  
     

基于消息驱动Bean的异步通信模型设计
引用本文:丁勇,杨鹤标,杜江.基于消息驱动Bean的异步通信模型设计[J].计算机工程与设计,2006,27(10):1786-1788,1859.
作者姓名:丁勇  杨鹤标  杜江
作者单位:江苏大学,计算机科学与通信工程学院,江苏,镇江,212013;江苏大学,计算机科学与通信工程学院,江苏,镇江,212013;江苏大学,计算机科学与通信工程学院,江苏,镇江,212013
摘    要:异步通信是一种松耦合的分布式通信模式,允许应用程序以发送方和接受方相互独立的形式,通过交换消息进行通信.消息驱动Bean作为处理异步消息的EJB组件,因其支持异步非阻塞的消息传递机制,在基于EJB的应用系统中日渐得到应用.提出了一种基于消息驱动Bean的异步通信模型.该模型使用MDB实现消息的异步消费,解决了EJB远程方法调用开销大等问题,降低了应用程序和EJB组件之间的依赖性,从而有效地提高了异步通信的性能和可靠性.

关 键 词:消息  消息驱动  Bean(MDB)  Java消息服务(JMS)  企业版Java  Bean(EJB)
文章编号:1000-7024(2006)10-1786-03
收稿时间:2005-04-09
修稿时间:2005-04-09

Design of asynchronous communication model based on message driven Bean
DING Yong,YANG He-biao,DU Jiang.Design of asynchronous communication model based on message driven Bean[J].Computer Engineering and Design,2006,27(10):1786-1788,1859.
Authors:DING Yong  YANG He-biao  DU Jiang
Affiliation:College of Computer Science and Communication, Jiangsu University, Zhenjiang 212013, China
Abstract:Asynchronous communication is a kind of loose mode of distributed communication system,which permit sender and receiver communicate independently via exchanging message.Message driven Bean(MDB) is one of enterprise Java Bean(EJB) components,which handle asynchronous message.It is widely used in various application systems based on EJB,for its functions and support of as-ynchronous and non-blocked message-passing mechanism.Asynchronous communication model based on MDB is presented.Asynchr-onous consumption of message realized by MDB and the problem of great spending during the EJB remote function call is solved.The model could not only decrease the dependence between application programs and EJB components but also improve the performance and reliability of asynchronous communication system effectively.
Keywords:message  message driven Bean  Java message service  enterprise Java Bean
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号