网上书店的设计与实现摘要在当今的社会计算机已经渐渐深入到人类生活的各个角落,在我们生活的周围,处处可见与网络息息相关的产品。尤其是最近几年,参加网络购物的人越来越多。这不仅仅是因为网上购物给我们带来了经济实惠,还因为在种类上,网上的东西种类更能够满足消费者的消费需求。因此,网络公司抓住机遇,无限个购物平台就这样出现了。与此同时,网上书店的平台也诞生了。该网上书店系统采用JSP技术编写出开发过程中需要的页面,采用struts2框架实现各个操作及页面跳转,使用Mysql技术对数据进行处理,实现了用户登录注册、图书的浏览查询、购物车、订单、后台对图书的管理、用户信息管理、图书销售统计等系统功能。该系统有界面友好,功能齐全,条理清晰的特点。该设计报告遵循软件工程导论设计思想,使用UML建模工具,完成了网上书店系统的设计,介绍了系统的需求分析,可行性分析,功能的设计,实现,以及测试方法和不足之处。关键词:网上购物书店JSPstruts2DesignandImp1ementationofOn1ineBookstoreAbstractIntoday'ssocietythecomputerhasgraduallypenetratedintoeverycornerofhumanlife,inourlivesaround,everythingiscloselyrelatedwiththenetwork.Especiallyinrecentyears,moreandmorepeopletoparticipateinonlineshopping.ThisisnotonlyontheInternettobringuseconomicbenefits,butalsobecauseofthekindofonlineshoppingismoreabletomeetconsumer’sdemand.Therefore,thenetworkcompanytoseizetheopportunity,moreandmoreshoppingplatformonthishaveappeared.Atthesametime,onlinebookstoreplatformwasborn.TheonlinebookstoresystemusingJSPwritethepagewhichisneededinthedevelopmentprocess,implementationofeachoperationandpageJumpbyusingStruts2framework,usingtheMySQLtechnologyfordataprocessing,realizedtheuserlogin,bookbrowsingquery,shoppingcart,orders,thebackgroundofbooksmanagement,theuserinformationmanagementandthebooksalesstatistics.Thesystemhasthecharacteristicsoffriendlyinterface,completefunctions,clearandclear.Thedesignreportfollowstheintroductiontosoftwareengineeringdesignidea,usingUMLmodelingtool,completedthedesignofonlinebookstoresystem,describesthesystemrequirementsanalysis,feasibilityanalysis,functiondesign,implementation,andtestingmethodanddeficiencies.KeyWords:On1ineshoppingBookstoresJSPStruts2目录摘要----------------------------------------------------------------------------------------------ⅠAbstract-----------------------------------------------------------------------------------------Ⅱ目录----------------------------------------------------------------------------------------------Ⅲ1绪论---------------------------------------------------------------------------------61.1课题背景--------------------------------------------------------61.2课题目的及意义----------------------------------------------------------------------------61.3开发工具及软硬件需求-------------------------------------------------------------------71.4技术的介绍-----------------------------------------------------72可行性分析-------------------------------------------------------------------------92.1社会可行性分析-------------------------------------------------92.2技术可行性分析-------------------------------------------------92.3操作可行性分析-------------------------------------------------93需求分析----------------------------------------------------------------------------103.1系统需求分析-------------------------------------------------103.2系统建模-----------------------------------------------------104系统设计-------------------------------------------------124.1系统功能模块设计---...