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

A Data Exchange System Based on J2EE

在线阅读下载全文

作  者:喻湘龙[1] 赵敬中[1] 

机构地区:[1]北京理工大学信息科学技术学院计算机科学工程系,北京100081

出  处:《北京理工大学学报》2003年第3期337-339,共3页Transactions of Beijing Institute of Technology

摘  要:研究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.

关 键 词:J2EE架构 企业级JavaBean 模型-视图-控制 STRUTS架构 数据交换 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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