B2C平臺前臺功能的設計與實現(xiàn)
發(fā)布時間:2017-12-28 09:41
本文關鍵詞:B2C平臺前臺功能的設計與實現(xiàn) 出處:《內蒙古大學》2017年碩士論文 論文類型:學位論文
【摘要】:隨著互聯(lián)網的不斷發(fā)展,電子商務的發(fā)展已經勢不可擋。B2C作為電子商務的一種典型模式,也隨之迅速發(fā)展。在這個電子商務不斷發(fā)展的時代,企業(yè)已經不能滿足于利用第三方零售平臺來銷售自己的產品。因此,越來越多的企業(yè)選擇搭建服務于自己的B2C銷售平臺。本文以Java EE架構為基礎,選擇Struts、Spring、Hibernate整合框架設計,實現(xiàn)了一款B2C平臺的前臺系統(tǒng)。本系統(tǒng)的主要功能模塊有會員模塊、商品模塊、購物車模塊和訂單模塊。本文對系統(tǒng)進行了可行性分析、功能性以及非功能性需求分析,并詳細設計和實現(xiàn)了系統(tǒng)的主要模塊,最后對系統(tǒng)進行了單元測試和主要功能的測試。本文采用MVC的分層模型,在完成各項需求的前提下提高了各組件的復用性。在分層設計理念的指導下,達到了數(shù)據(jù)層,業(yè)務層,控制層和界面之間的高內聚,低耦合的目標。同時,在Spring提供的IOC容器支持下,提高了可維護性,在相同接口的引用下,可按需對實現(xiàn)類進行配置替換而不會影響整個項目的正常運行。此外,運用JUnit擴展的EasyMock、JMock以及DbUnit單元測試框架對系統(tǒng)各層分別進行了完善的單元測試。使用Selenium對主要功能進行自動化測試,簡化了測試工作。最后我們使用Gradle自動化完成構建部署以及測試,保證項目開發(fā)的一致性和連續(xù)性。
[Abstract]:With the continuous development of the Internet, the development of electronic commerce has become unstoppable. As a typical model of e-commerce, B2C has also developed rapidly. In this era of the continuous development of e-commerce, enterprises can not be satisfied with the use of the third party retail platform to sell their products. As a result, more and more enterprises choose to build their own B2C sales platform. This paper, based on Java EE architecture, chooses the design of Struts, Spring and Hibernate integrated framework, and implements a front desk system of B2C platform. The main functional modules of this system include member module, commodity module, shopping cart module and order module. The feasibility analysis, functional analysis and non functional requirement analysis of the system are carried out in this paper, and the main modules of the system are designed and implemented in detail. Finally, the unit test and main function test of the system are carried out. In this paper, a hierarchical model of MVC is used to improve the reusability of the components on the basis of the requirements. Under the guidance of the concept of layered design, high cohesion and low coupling between the data layer, the business layer, the control layer and the interface are achieved. At the same time, with the support of IOC container provided by Spring, the maintainability is improved. Under the reference of the same interface, it can configure and replace the implementation class on demand, without affecting the normal operation of the whole project. In addition, JUnit extended EasyMock, JMock and DbUnit unit test framework were used to carry out a complete unit test on each layer of the system respectively. Using Selenium to test the main functions automatically, simplifying the test work. Finally, we use Gradle automation to complete the construction deployment and test to ensure the consistency and continuity of the project development.
【學位授予單位】:內蒙古大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP311.52
【參考文獻】
相關期刊論文 前5條
1 溫立輝;;Hibernate框架持久化應用及原理探析[J];科技創(chuàng)新與應用;2017年03期
2 劉霞;曹新鴻;;基于B2C模式的網上銷售平臺的設計與實現(xiàn)[J];邢臺職業(yè)技術學院學報;2016年03期
3 周瑩;;淺析中國B2C電子商務發(fā)展現(xiàn)狀與趨勢[J];商;2015年10期
4 劉艷春;洪曉慧;;Struts2框架核心配置文件的研究與應用[J];計算機技術與發(fā)展;2013年02期
5 孫瑩,許俊華,張毅,賀清峰;MVC編程模型在Web程序中的應用及Java實現(xiàn)[J];計算機工程與應用;2001年17期
相關碩士學位論文 前5條
1 柏妮妮;中國B2C電商企業(yè)盈利模式及發(fā)展趨勢研究[D];華東理工大學;2016年
2 汪煒;基于j2ee的b2c電子商務平臺的設計與實現(xiàn)[D];電子科技大學;2015年
3 滿勤;基于J2EE的B2C電子商務系統(tǒng)的設計與實現(xiàn)[D];電子科技大學;2012年
4 伍向前;單元測試中mock技術的研究和創(chuàng)新[D];大連交通大學;2008年
5 張明時;J2EE應用自動化單元測試框架研究[D];北京郵電大學;2007年
,本文編號:1345550
本文鏈接:http://sikaile.net/shoufeilunwen/xixikjs/1345550.html
最近更新
教材專著