WEB应用若干关键技术的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着Internet的飞速发展,WEB已经渗透到各行各业当中,从商业、银行、财政、娱乐、教育到政府机构,WEB应用对人们的日常生活、工作产生了深远的影响。WEB以其生动丰富的用户界面和易于维护的特点,在企业信息化建设中得到广泛的运用。同时,用户对WEB服务品质和响应速度的要求也越来越高,如何提高WEB应用的性能和提升用户体验,成为WEB应用领域的研究热点。
     WEB应用的性能直接受到其关键技术的影响,这些关键技术贯穿于客户端、网络、直到服务器的整条链中,任何一个环节的薄弱之处都会成为WEB应用的性能瓶颈。传统的解决方案往往着眼于局部问题的解决,以至于付出巨大努力但取得的实际成效甚微。实际上,改善WEB应用的性能是一个整体而系统的过程,只有从整条链(客户端、网络、服务器)的各个环节考虑问题才能从根本上解决问题。
     本论文从影响WEB性能的三个环节入手,首先研究了网络环节的VPN技术在企业组网中的运用。根据企业需求设计SSL VPN网络方案,解决企业分支互连问题,并采用基于证书的双向SSL身份验证机制确保系统的安全。
     其次,研究了服务器环节的WebLogic Server应用服务器。通过WebLogicServer管理控制台(WLS Administration Console)的系统监控,提炼出性能优化的若干策略,归纳出WEB应用从Tomcat迁移到WebLogic Server的方法。
     最后,在客户端开发技术环节研究了WEB缓存技术和AJAX技术。将AJAX技术运用到客户端开发中,并建立OSCache整合Ehcaehe的WEB缓存框架。
     本论文提出优化WEB应用的全局化思想,即:联合运用影响WEB性能各个环节的关键技术,整体提高WEB应用的性能。在长江航道信息二期工程的开发和运行实践中,该思想很大程度地改善了系统的性能,并给用户带来良好的体验,同时对其他WEB应用也具有一定的参考价值。
With the rapid development of Internet,web application has existed all walks of life,from business,banks,financial institutions,entertainment,education to government agencies.Web make profound influences on our daily lives.Because of the abundant user interface and favorable maintainability it provided,web application has become more and more popular in Enterprise Informatization.People increasingly expect on response time and service performance.Through key technologies,improving service performance and user experience become important research direction.
     Actually,the key technologies directly affect web applications,through the whole chain which from client,network to server.Each weak part of the entire chain will lead to the poor performance and the terrible user experience.Because of partially focusing on problem-solving,the traditional solutions make tremendous efforts with little success.In fact,it is a systematic and all-around study.Only pay more attention on various aspects of the entire chain(client→network→server)can we fundamentally resolve the problem.
     Start with three parts which affect web performance.Fistly,in the aspect of network,make a research on the application of vpn in enterprise networking.Design a network based on SSL vpn in accordance with the requirements of the enterprise, which helps interconnection of enterprise branches.The system supports two-way SSL authentication to ensure system security.
     Secondly,the research on WebLogic Server is made in regard of server.Through monitor from WebLogic Server Administration Console(WLS Administration Console),a number of principles can be followed for optimizing system.The implementation steps can be summed up in the process of movement from Tomcat to WebLogic Server.
     Finally,make a research on cache and AJAX in terms of development technology. AJAX will be used in client development to improve user experience and integration solution of cache is proposed,which integrate OSCache into Ehcache.
     The overall-optimization thinking about web application is presented.The joint use of key technologies finds a way to enhance server performance,which affects web performance.Apply this thinking to practice-the second phase project of the Yangtze River Waterway to obtain better service performance and better user experience.
引文
[1]席静.基于Web服务器的性能评价和优化[D].北京:中国科学院计算技术研究所,2001.
    [2]Gian-Paolo D.Musumeci,Mike Loukides.System Performance Tuning[M].United States of America:O'Reilly,2002:1-10.
    [3]乔翠萍.基于AJAX技术的WEB应用框架的研究与实现[D].武汉:武汉理工大学,2007.
    [4]Harding,Andrew.SSL Virtual Private Networks[J].Computers Security,2003,22(5):416-420.
    [5]曹利.基于第四层交换的SLB技Cisco4804G上的实现[J].计算机时代,2006,5(3):10-11.
    [6]Duane Wessels.WEB Caching[M].United States of America:O'Reilly & Associates Inc,2001:1-6.
    [7]赵玉伟.WWW中缓存机制的应用研究[D].武汉:武汉理工大学,2006.
    [8]丁娜.基于AJAX的WEB2.0技术研究[D].杭州:浙江大学,2007.
    [9]Gentry,P.B.What Is A VPN[J].lnformation Security Technical Report,2001,6(1):15-22.
    [10]Gleeson B,Lin A,Heinanen J.A Framework for IP Based Virtual Private Networks-IETF RFC 2764[EB/OL].http://www.ieff.org/rfc.html.2000.
    [11]刘亮,李玉萍,邹妍.浅谈VPN技术[J].地壳构造与地壳应力,2006,1(1):1-5.
    [12]刘海涛.VPN的3种解决方案比较与实施步骤[EB/OL].http://www.pconline.com.cn/comm/jsqs/0406/402364.html.2004
    [13]Cohen R.On the Establishment of an Access VPN in Broadband Access Networks[J].IEEE Communications Magazine,2003,41(2):121-123.
    [14]郝辉,线华林.VPN及其隧道技术研究[J].微电子学与计算机,2004,21(11):47-51.
    [15]Knight.P,C.Lewis.Layer 2 and 3 virtual private networks:taxonomy,technology,and standardization efforts[J].IEEE Communications Magazine,2004,42(6):124-131.
    [16]上海冰峰计算机网络技术有限公司.VPN技术入门与应用方案规划[M/OL].上海冰峰峰计算机网络技术有限公司,2005.27-39.
    [17]高德昊.VPN技术在组网中的研究与应用[D].沈阳:沈阳工业大学,2007.
    [18]Ivan Pepelnjak,Jim Guichard,Jeff Apear.MPLS和VPN体系结构tM].北京:电子工业出版社,2004:56-59.
    [19]深圳市深信服电子科技有限公司.SINFOR SSL VPN网关技术白皮书v1.5[M/OL].深信服电子科技有限公司,2007.6-19.
    [20]贺济美.SSL VPN的分析与设计[D].武汉:华中科技大学,2006.
    [21]One-way/Two-way SSL Authentication[EB/OL].http://egeneration.beasys.com/wls/docs81/secintro/concepts.html#1075501.2007.
    [22]Identity Assertion and Tokens[EB/OL].http://egeneration.beasys.com/wls/docs81/secintro/concepts.html#1065257.2007.
    [23]BEA WebLogic Server 9.2 API Reference[EB/OL].http://egeneration.beasys.com/wls/docs81/secintro/concepts.html#1065257.2007.
    [24]在Java客户端中使用SSL身份验证[EB/OL].http://www.pconline.com.cn/comm/jsqs/0406/402364.html.2006.
    [25]Akbar,Keyur Shah.BEA WebLogic Server管理指南[M].工业出版社,2007.21-23.
    [26]zhouhg.BEA WebLogic平台下J2EE调优攻略[EB/OL].http://www.blogjava.net/lqsun/archive/2005/06/10/5854.html.2005.
    [27]Nyberg,Robert Patrick,Paul Bauerschmidt.Mastering BEA WebLogic Server[M].John Wiley&Sons,2003.79-81.
    [28]Joe Zuffoletto,Gary Walls,Brian Gill.BEA WebLogic(R)Server Bible[M].John Wiley &Sons,2002.103-109.
    [29]陶为民,陈特放.Java虚拟机的垃圾收集[J].铁路计算机应用,2003,12(11):31-39.
    [30]谢招犇,相洪贵.JDBC连接池的模型优化及其Web应用[J].山西电子技术,2006,9(3):25-26.
    [31]郭俊,陈梅容,朱兵章.WebLogic中数据库连接池配置[J].机电工程技术,2004,33(6):39-41.
    [32]Prakash Malani.Strategies for WebLogic Domain Configuration[EB/OL].http://wldj.sys-con.com/read/47096.html.2004.
    [33]opensymphony.What is OSCache[EB/OL].http://www.opensymphony.com/oscache/wiki/What%20is%20OSCache.html.2005.
    [34]opensymphony.Tag Reference of OSCache[EB/OL].http://www.opensymphony.com/oscache/wiki/JSP%20Tags.html.2005.
    [35]opensymphony.The Caching Filter[EB/OL].http://www.opensymphony.com/oscache/wiki/CacheFilter.html.2005.
    [36]opensymphony.OSCache API[M/OL].http://www.opensymphony.com/oscache/api.2005.
    [37]Object Relational Mapping-Persistence and Caching for Java[EB/OL].http://cayenne.apache.org.2007.
    [38]Wangjinfeng.Hibernate Reference Version 3.2[M/OL].http://www.redsaga.com/hibernate-ref/3.2/pdf/hibernate_reference.pdf.2006.
    [39]夏昕,曹晓钢,唐勇.深入浅出Hibernate[M].北京:电子工业出版社,2005.300-301.
    [40]Opensymphony.O SCache Installation Guide[EB/OL].http://www.opensymphony.com/oscache/wild/lnstallation%20Guide.html.2005.
    [41]Bruno,EJ.Ajax:Asynchronous JavaScript and XML[J].DR DOBBSJ,2006,31(2):32-35.
    [42]Jesse James Garrett.Ajax:ANew Approach to Web Applications[EB/OL]. http://www.adaptivepath.com/ideas/essays/archives/000385.php.2005.
    [43]Merrill C L.Performance Impacts of Ajax Development:Using Ajax to improve the Bandwidth Performance of Web Applications[EB/OL].http://webperformanceinc.com/library/reports/AjaxBandwidth/index.html.2006.
    [44]Brett McLaughlin.Introduction to Ajax[EB/OL].http://www.ibm.com/developerworks/xml/library/wa-ajaxintrol.html?STACT=105AGX5&S_CMP=cn-a-x.2005.
    [45]陈初.AJAX技术在B/S模式工业监控中的研究与应用[D].杭州:浙江大学,2007.
    [46]Philip McCarthy,面向Java开发人员的Ajax:构建动态的Java应用程序[EB/OL].http://www-128.ibm.com/developerworks/cn/java/j-ajax.2005.
    [47]DWR中文文档[M/OL].http://getahead.ltd.uk/dwr/documentation.2006.
    [48]王栋.AJAX技术在印染智能优化及商务信息系统的应用[D].杭州:浙江大学,2006.