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