第1页毕业设计(论文)题目网上商城购物系统姓名学号所在学院计算机学院专业班级指导教师刘兴日期2011年5月10日摘要本系统研究了一种基于B/S结构的网上购物系统。其开发主要包括后台数据库的建立和维护以及前台页面的Web设计,对于前者要求建立起数据一致性和完整性、安全性的库;而对于后者则要求分类明确、使用户一目了然。基于商务网站的建设和web技术的发展,采用J2EE平台开发网上购物平台。在设计方面,本系统采用B/S三层结构,同时使用JSP技术进行动态页面的设计,从系统的第2页安全性和代码的可重用性方面考虑,运用JavaBean对程序的关键代码进行封装。该平台采用Apache的tomcat6.0.32作为Web服务器,后端连接MySQL数据库;并且达到了功能明确、费用低廉、通用性强、适合我国国情的购物网站系统。文中着重论述了该系统的设计与实现,并对关键的技术做了较详细的介绍。本系统主要有四大模块:用户管理,商品管理,购物车,订单管理。在用户管理的用户注册模块中,特别加强了用户注册信息验证的严格性;并且规定只有注册成会员才能下订单,没有注册成会员的用户只能浏览商品。整个系统结构清晰,功能明确,页面风格鲜明,易操作,适合客户的需求;使交易能够更加方便和快捷。关键词:B/S结构,JavaBean,JSP,购物系统AbstractThesystemwhichisbasedonB/Sstructureoftheonlineshoppingsystem.Whichmainlyincludestheestablishmentandmaintenanceofback-enddatabaseandfrontpageoftheWebdesignrequestfortheestablishmentofdataconsistencyandintegrity,securitylibrary;andclearclassificationofthelatterrequiresthattheuserataglance.第3页Basedbusinesswebsitebuildingandwebtechnology,onlineshoppingplatformusingJ2EEplatform.Inthedesign,thesystemusestheB/Sthree-tierstructure,JSPtechnology,dynamicpagedesign,fromsystemsecurityandcodereuseconsiderations,thekeytotheprogramusingJavaBeancodepackage.TheplatformusestheApacheWebserver,astomcat6.0.32,MySQLdatabaseback-endconnectivity;andachievedfeaturesaclear,lowcost,versatility,suitableforChinashoppingwebsitesystem.Thepaperfocusesonthedesignandimplementationofthesystem,andthekeytechnologytodoamoredetailedintroduction.Thesystemhasfourmodules:usermanagement,commoditymanagement,shoppingcart,ordermanagement.Usersregisteredintheusermanagementmodule,inparticular,theuserregistrationinformationtoenhancetherigorofvalidation;andprovidesthatonlyregisteredmemberscanbecomeanorder,notregisteredasmembersoftheusercanonlyseetheproducts.Theentiresystemstructureisclear,featuresaclear,distinctivestylepages,easytooperate,suitablefortheneedsofcustomers;thetransactionscanbemoreconvenientandfasterKeywordsB/Sstructure,JavaBean,JSP,shoppingonline第4页目录摘要................................................................1Abstract............................................................2目录...............................................错误!未定义书签。绪论...............................................................7第1章系统开发背景与意义..........................................81.1系统开发背景..................................................81.2系统开发意义..................................................8第2章系统可行性分析..............................................102.1技术可行性...................................................102.2经济可行性...................................................102.3社会可行性...................................................102.4系统功能需求.................................................10第3章系统功能模块设计............................................123.1系统功能需求.................................................123.2功能模块规划................................................123.3系统功能结构图......................................................123.4系统设计.....................................................133.4.1设计目标.........................................................133.4.2系统开发环境.....................................................14第5页3.5数据库设计...................................................14第4章网上购物系统实现过程........................................204.1系统的关键技术点.............................................204.1.1创建与数据库的连接...............................................204.1.2访问数据库的JavaBean............................................204.2处理流程设计................................................214.2.1系统总业务流程图................................................214.2.2用户注册流程....................................................224.2.3用户登录流程....................................................234.2.4订单管理........................................................234.3系统界面设计................................................244.3.1网站前台首页设计.................................................244.3.2热卖商品模块设计.................................................254.3.3最新上架图书模块设计.............................................264.3.4商品分类模块设计.................................................264.3.5会员管理模块设计.................................................274.3.6订单模块........................................................29第5章系统测试...................................................305.1测试的意义..................................................305.2测试用例....................................................305.2.1用户注册........................................................305.2.2购物车..........................................................315.2.3订单模块测试....................................................32第6章系统的评价分析.............................................346.1实用性.......................................................34第6页6.2可维护性............................................................346.3可扩展性............................................................34第7章系统使用说明...............................................357.1系统环境要求.................................................357.2系统安装.....................................................357.3系统运行.........................