期刊文献+

基于J2EE的数据交换系统设计模式研究 被引量:5

A Data Exchange System Based on J2EE
下载PDF
导出
摘要 研究Web应用中数据交换系统的设计模式.采用基于模型-视图-控制架构的struts架构,用ActionServlet类控制数据流转方向,ActionServlet类同时提供处理所有http请求的入口点.控制组件用相应的请求参数填充formbean,对数据进行有效性检测,检测通过后将参数传给Action类.EnterpriseJavaBeans实现所有数据交换的业务逻辑,对分布的数据资源进行访问和管理.Action类通过调用EnterpriseJavaBeans决定页面的选择.最后Action类把控制权交给后续的JSP文件,后者生成视图.这种设计模式将页面显示和业务逻辑分离开来,便于系统的开发和维护. Investigates the design structure of a data exchange system in Web application. It makes use of a struts architecture based on the modelviewcontrol structure , and controls the direction of data flow on an actionservlet class, which offers an entrance for all http requests. The control component fills the corresponding parameters in the form bean, and the form bean validates these parameters. After success, the form bean sends these parameters to the action class. The Enterprise JavaBeans realize all the data exchange business and manage the distributed data resources. Then the action class decides to select the page in view by invoking enterprise Javabeans. Finally, the action class transfers the control power to the consequent JSP page, which generates the view. This design structure separates the business logic from the page, so it is of advantage in developing and maintaining the system.
出处 《北京理工大学学报》 EI CAS CSCD 北大核心 2003年第3期337-339,共3页 Transactions of Beijing Institute of Technology
关键词 J2EE架构 企业级JavaBean 模型-视图-控制 STRUTS架构 数据交换 J2EE architecture enterprise JavaBean model-view-control structure struts architecture data exchange
  • 相关文献

参考文献6

  • 1CouchJ 马林译.JZEE宝典[M].北京:电子工业出版社,2002.629-652.
  • 2Eckel B. Thinking in patterns with Java [M].EngleWood Cliffs, NJ: Prentice Hall, 2001. 561-593.
  • 3Gabrick K. J2EE and XML development [M].Greenwich Connecticut: Manning Publications Co.,2002. 37--154.
  • 4Marinescu F . EJB design patterns[M]. New York:Wiley Computer Publishing,2002. 121-- 180.
  • 5Bergin J. Building graphical user interfaces with the MVC pattern[EB/OL], http :///www. csis. pace. edu/-bergin/mvc/mvcgui. html, 2002-04-07/2003-03-04.
  • 6Roman E. Mastering enterprise Javabeans second edition[M]. New York : Wiley Computer Publishing,2002. 271--323.

同被引文献20

引证文献5

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部