首页 | 本学科首页   官方微博 | 高级检索  
     

基于JSP工厂模式的工资查询系统设计与实现
引用本文:郭文龙. 基于JSP工厂模式的工资查询系统设计与实现[J]. 计算机时代, 2012, 0(11): 66-68
作者姓名:郭文龙
作者单位:定西师范高等专科学校,甘肃定西,743000
摘    要:分层思想在JSP技术的开发过程中的优点是层次清楚,这有利于不同程序员分式开发,从而提高效率;但是在应用每一层相关类的时候需要实例化,这会增加系统开销。采用工厂模式在开发过程中向程序员提供一个"工厂"供程序员选择"零件",可以减少实例化次数。工厂开发模式在JSP+tomcat的开发中,可结合分层思想,按照不同的层次进行开发,同时也可独立出公共模块切入到其他模块中,有效地避免了代码重复,提高了开发效率。

关 键 词:分层  工厂模式  JSP  tomcat

Design and implementation of wage query system based on the JSP factory pattern
Guo Wenlong. Design and implementation of wage query system based on the JSP factory pattern[J]. Computer Era, 2012, 0(11): 66-68
Authors:Guo Wenlong
Affiliation:Guo Wenlong(Dingxi Teachers College,Dingxi,Gansu 743000,China)
Abstract: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.
Keywords:stratification  the factory pattern  JSP  Tomcat
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号