欢迎来到天天文库
浏览记录
ID:10723853
大小:1.21 MB
页数:45页
时间:2018-07-07
《基于struts架构的网上证券交易系统中的约定履历模块设计与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、题目基于Struts架构的网上证券交易系统中的约定履历模块设计与实现学生姓名学 号教学院系计算机科学学院专业年级指导教师职 称单 位计算机科学学院辅导教师职称单 位完成日期2009年6月12日摘要随着Web技术的广泛应用,许多企业都迫切要求快速、高效地构建自己的Web业务系统。企业版J2EE是Sun提供的一个标准的企业应用开发平台,它为开发企业Web应用提供了丰富的技术选择。Struts是一个基于J2EE平台,实现了MVC设计模式的框架,作为一个通用的请求控制器框架可以进一步优化Web开发。它为JavaWeb开发提供一个灵活的模型一视图一控制器方法,将前台显示和业务逻辑完全分开,充分实
2、现MVC模型思想。本文首先分析了J2EE平台的特点,其次详细描述了MVC设计模式以及基于该模式的Struts应用框架,最后详细介绍了基于Struts框架实现网上证券交易系统的全过程,包括:需求分析、系统设计、系统实现、单体测试。其中以约定履历为例重点介绍了利用Struts框架来实现系统的视图层和控制层的技术以及配置Struts应用的两个重要文件web.xml和struts-config.xml。通过采用Struts开发本系统,将业务逻辑和显示页面分离开来,简化了每个阶段的工作,并且规范了整个系统的开发,提高了代码质量和系统的开发效率。关键词:J2EE;MVC;StrutsIIIAbstra
3、ctWiththewidespreaduseoftheWebtechnology,manyenterpriseshopeurgentlytoconstructtheirownWebbusinesssystems.Java2PlatformEnterpriseEdition(J2EE)isastandardplatformprovidedbySunCorporation,whichsuppliesuswithrichtechnicalchoicestodevelopWeb-basedenterpriseapplication.Ahigh-qualityapplication,however,
4、dependsonthesupportofwell-designedJ2EEinfrastructure.StrutsisbaseonJ2EEplatform,realizestheMVCpatternidea,itcanoptimizedevelopingWebapplicationfurtherasaframeworkofcontrollerincommonuse.ItoffersaflexibleModel-View-ControllermethodtodevelopJavaWebapplication.Itmakesdisplayandbusinesslogicseparateto
5、tally,fullyrealizeMVCmodelthought.Inthisarticle,FirsttheadvantageofJ2EEplatformanalyzed,MVCpatternsandstrutsapplicationarchitecturebasedonMVCpatterns,Finallyitintroducedthewholeprocessaboutthedesignandrealizationoftheon-linestocktradesystembasedonstrutsframework,whichincludeddemandanalysis,systemd
6、esign,systemrealization,unittest.AndBookingHistorymoduleisusedasanexampletoexplainthedevelopmentofpresentationlayerandcontrollayerwithStrutsFrameworkandtheapplicationofthetwoimportantStrutsconfigurationfiles:web.xmlandstruts-config.xml.Developingthesystemwithstrutscandividebusinesslogicandvisual,s
7、implethejobofeveryperiod,standardizedevelopmentofthewholesystem,andimprovequalityofthecodeandefficiencyofdevelopingsystem.Keywords:J2EE;MVC;StrutsIII目录1绪论11.1背景及目的11.2设计和研究方法11.2.1Struts架构、Jsp、Taglib技术结合11.2.2应用程
此文档下载收益归作者所有