J2EE平台上消息驱动Bean对客户的响应与回传的实现  被引量:4

REALIZATION OF RESPONSE AND FEEDBACK FOR CLIENTS FROM MESSAGE-DRIVEN BEAN ON J2EE1.4 PLATFORM

在线阅读下载全文

作  者:何文涛[1] 林贤林[1] 

机构地区:[1]广东工业大学应用数学学院,广东广州510090

出  处:《计算机应用与软件》2008年第5期181-182,184,共3页Computer Applications and Software

摘  要:EJB是基于Java的服务器端组件架构技术,借助于EJB,开发者能够轻松构建企业的、分布式组件应用,并且能够开发架构灵活、运行可靠及安全的应用系统。在EJB规范中,客户可向中间件发送消息,而消息驱动Bean(MDB)能从中间件接收消息,从而客户与消息驱动Bean实现异步传输消息,形成松耦合的状态。介绍了消息发布客户与消息驱动Bean通过服务器互传消息的理论,给出了Java消息服务的请求/响应解决方案,并且在J2EE1.4平台上实现了消息驱动Bean将响应结果异步回传给生产消息的客户,而客户可以是应用程序,Servlet/JSP,或EJB本身。EJB( Enterprise Java Bean) is a standard architecture for building components at server-side based on Java. Developers can use EJB to easily build the distributed components for enterprises' application,and to develop the scalable,reliable and secure application system. According to EJB specification,the client can send messages to middleware and the message-driven bean can receive message from it,in this way they transform the messages asynchronously and form loose-coupling status. This paper describes the theory of the communication through sevrers by message producer as the client and message-driven bean, proposes a solution for request/response from Java Massage Service, and introduces the realization of that the message-driven bean returned asynchronously the response results to the client who producing messages on J2331.4 platform,here the client could be an application,Servlet/JSP,or even EJB itself.

关 键 词:J2EE1.4企业Bean(EJB2.1) 消息驱动Bean(MDB) Java消息服务(JMS) 

分 类 号:TP393.09[自动化与计算机技术—计算机应用技术] TP311.13[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象