详细信息
基于JSP工厂模式的工资查询系统设计与实现 被引量:1
Design and implementation of wage query system based on the JSP factory pattern
文献类型:期刊文献
中文题名:基于JSP工厂模式的工资查询系统设计与实现
英文题名:Design and implementation of wage query system based on the JSP factory pattern
作者:郭文龙[1]
第一作者:郭文龙
机构:[1]定西师范高等专科学校,甘肃定西743000
第一机构:甘肃中医药大学定西校区
年份:2012
期号:11
起止页码:66
中文期刊名:计算机时代
外文期刊名:Computer Era
语种:中文
中文关键词:分层;工厂模式;JSP;tomcat
外文关键词:stratification; the factory pattern; JSP; Tomcat
摘要:分层思想在JSP技术的开发过程中的优点是层次清楚,这有利于不同程序员分式开发,从而提高效率;但是在应用每一层相关类的时候需要实例化,这会增加系统开销。采用工厂模式在开发过程中向程序员提供一个"工厂"供程序员选择"零件",可以减少实例化次数。工厂开发模式在JSP+tomcat的开发中,可结合分层思想,按照不同的层次进行开发,同时也可独立出公共模块切入到其他模块中,有效地避免了代码重复,提高了开发效率。
The advantage of layered idea development in JSP technology process includes clear hierarchy,from which different programmers’fractional development benefits,thus efficiency is improved.But in the application of each layer class it needs to be instantiated,and will increase the system overhead.Applying factory pattern extension development process provides programmers with a "factory" for the programmers to choose "parts",which can reduce the number of instantiating.Factory development patterns in the development of JSP + tomcat can not only combine with hierarchical idea,according to the different levels of development,but also separate from public module entry to the other modules,to effectively solve the code duplication,improve development efficiency.
参考文献:
正在载入数据...