EJB在企业级电子商务开发中的应用.pdfVIP

  • 5
  • 0
  • 约1.05万字
  • 约 4页
  • 2017-07-10 发布于北京
  • 举报
EJB在企业级电子商务开发中的应用.pdf

第4O卷 第 6期 武汉大学学报(工学版) Vo1.40 NO.6 2007年12月 Engineering Journal of Wuhan University Dec.2007 文章编号:1671—8844(2OO7)O6—0139—04 EJB在企业级电子商务开发中的应用 杨鏖丞 (武汉大学计算中心,湖北 武汉 430072) 摘要:简要介绍了EJB的概念和特性,举例说明如何利用本地接口和本地Home接口来防止本地客户端访问 EJB组件时产生附加的网络通信量.接下来对新的CMP组件模型进行了详尽阐述,通过实例解释了持久性管理 器在提高系统可移植性方面发挥的关键作用.最后介绍了新的EJB规范中引入的消息驱动Bean,比较了它与会 话和实体Bean之间的区别,并从实践角度给出了利用消息驱动Bean和消息传递集群构造基于非耦合多层次体 系结构的企业级电子商务系统的方法. 关键词:EJB;Java消息服务;消息驱动Bean 中图分类号:TP 391 文献标志码:A Application of EJB to enterprise E_。commerce YANG Aocheng (Computing Center,Wuhan University,Wuhan 430072,China) Abstract:The notion and character of EJB are introduced firstly.Then an example is given to explain the way that preventing the local access to EJB component from making additional network flux by using lo— cal interface and local home interface.Following the example,new CMP component model is expounded in detail.An instance was furnished to show the key role played by the persistence—manager in the aspect of improving system portability.The author discusses MessageDrivenBean introduced by new EJB crite— rion in the last part of this paper,and compared it with the other beans,such as session bean and entity bean.Finally,a way is put forward from the viewpoint of practice that used MessageDrivenBean and Message—Passing—Cluster to construct enterprise e—commerce system based on non—coupling multi—layer architecture. Key words:Enterprise J ava Beans;J ava Message Service;Message Driven Bean 近年来,随着企业间电子商务交易的迅猛发 部署多层结构的、分布式的、面向对象的Java应用 展,如何更快、更有效地开发具有高可靠性、高可用 系统的跨平台的标准服务器端的组件模型[3].使用 性和易维护性的大型电子商务系统已成为电子商 EJB结构编写的应用组件具有可扩展性、交互性以 务领域中的一个研究热点[1].组件技术的发展较好 及

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档