检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.135.190.163