学号2013341124郑州成功财经学院毕业论文(设计)基于JAVA的网上商城设计与实现系部名称:信息工程系专业名称:计算机科学与技术学生姓名:陈峰指导教师:李晓东讲师二〇一七年四月II摘要随着互联网技术的发展,全世界几乎所有的行业都在互联网的影响下得到了好的变化,互联网技术的逐渐成熟和发展,使生产力得到了巨大的发展,可以说互联网是第四次工业革命也毫不为过。互联网的发展催生了电子商务,电子商务的到来预示着网络营销潮流的到来。企业与客户之间的营销关系也正在逐渐由实体店面销售转变为网络电子商务营销,越来越多的企业开设自己的网上购物平台来吸引更多互联网客户,同时也大大降低了实体地点面营销的成本,在保证质量的前提下,增加了企业的收益。本课题就是在这种环境下应运而生的,课题主要是利用SSM技术实现网上购物商城的前台与后台系统。采用分布式与集群相配合的模式来开发和部署该系统,采用这种方法开发的商城系统不仅开发速度快,开发效率高,开发层次明确而且还能能够承载大数据量的访问,而且这套系统对当下想要进军商城网站的商家来说具有非常重要的参考价值。关键词:购物商城;SSM技术;设计与实现IIIAbstractWiththedevelopmentofInternettechnology,almostallindustriesallovertheworldintheInternethasbeenagoodchange,Internettechnologyisgraduallymatureanddevelopment,sothatproductivityhasgotenormousdevelopment,canbesaidthattheInternetisthefourthindustrialrevolutionisalsonottoomuch.ThedevelopmentoftheInternetgavebirthtoe-commerce.Thearrivalofe-commerceindicatesthearrivalofnetworkmarketing.Betweentheenterpriseandthecustomerrelationshipmarketingisalsograduallybytheentitystoresalesintoe-commercenetworkmarketing,moreandmoreenterprisessetuptheirownonlineshoppingplatformtoattractmorecustomerstotheInternet,butalsogreatlyreducesthecostofmarketingentitylocation,underthepremiseofguaranteeingquality,increasetheincomeoftheenterprise.Thistopicisinthisenvironmentcameintobeing,themaintaskistouseSSMtechnologytoachieveonlineshoppingmallfrontandbackofficesystem.Usingdistributedandclustermatchingmodeltodevelopanddeploythesystem,usingthismethodnotonlythedevelopmentofshoppingmalldevelopmentspeed,highdevelopmentefficiency,butalsoacleardevelopmentlevelcapableofcarryingalargeamountofdataaccess,andthissystemhasveryimportantreferencevalueforthecurrentArmywantedtoenterthemallsitebusinesses.Keyword:Shoppingmall;SSMtechnology;DesignandImplementationIV目录1.绪论....................................................11.1.研究的背景和意义.............................................11.1.1.研究的背景.............................................11.1.2.研究的意义.............................................11.2.研究内容.....................................................11.3.论文组织结构.................................................22.商城系统开发技术及工具介绍.................................................................................32.1.商城开发的核心技术...........................................32.1.1.Jsonp简介..............................................32.1.2.HttpClient简介.........................................42.1.3.Cookie简介.............................................52.1.4.Session简介............................................62.1.5.Solr简介...............................................72.2.SSM框架技术.................................................82.2.1.框架技术概述...........................................82.2.2.SpringMVC框架..........................................92.2.3.Mybatis框架...........................................102.2.4.Spring框架............................................112.3.商城开发工具................................................112.3.1.Ecplipse及其插件......................................112.3.2.Tomcat服务器..........................................122.3.3.MySQL数据库...........................................122.3.4.Redis数据库...........................................123.商城系统项目需求分析...............................................................................................143.1.目标........................................................143.2.商城业务流程图..............................................143.2.1.商城后台业务流程图....................................143.2.2.商城前台务流程图......................................154.商城系统设计及实现.....................................................................................................174.1.商城总体开发架构............................................174.2.商城框架实现................................................174.2.1.Spring整合SpringMVC..................................174.2.2.Spring整合Mybatis....................................184.2.3.Spring整合Jedis......................................204.3.商城主要功能模块实现........................................214.3.1.商城后台商品管理实现..................................214.3.2.商城后台内容管理实现..................................244.3.3.商城前台单点登录的实现................................26V4.3.4.商城前台solr全文搜索的实现...........................295.商城系统运行结果..........................................................................................................325.1.商城后台运行结果............................................325.1.1.商城前台新增产品......................................325.1.2.商城前台商品内容管理..................................335.2.商城前台运行结果............................................345.2.1.商城前台用户搜索......................................345.2.2.商城前台用户注册......................................355.2.3.商城用户购物车........................................366.总结以及展望.....................................................................................................................38参考文献.......................................................................................................................................39致谢.......................................................................................