【正文】
。 Struts是 MVC的一種實(shí)現(xiàn),它將 Servlet和 JSP標(biāo)記 (屬于 J2EE規(guī)范 )用作實(shí)現(xiàn)的一部分。在視圖層, Struts能夠與 JSP,包括 JSTL與 JSF,以及 Velocity模板, XSLT與其它表示層技術(shù)。 Struts有一組相互協(xié)作的類(lèi) (組件 )、 Servlets以及 JSP tag lib組成。 登錄系統(tǒng) 書(shū)籍瀏覽 讀購(gòu)物車(chē)信息 申請(qǐng)結(jié)賬 加入購(gòu)物車(chē) 網(wǎng)上書(shū)店的設(shè)計(jì)與實(shí)現(xiàn) 13 圖 25 用戶(hù)購(gòu)書(shū)活動(dòng) 2. 5 相關(guān)技術(shù)平臺(tái)介紹 2. 5. 1 Struts 介紹 Struts是 Apache基金會(huì) Jakarta項(xiàng)目組的一個(gè) Open Source項(xiàng)目,它采用 MVC 模式,能夠很好地幫助 java開(kāi)發(fā)者利用 J2EE開(kāi)發(fā) Web應(yīng)用。 查詢(xún)書(shū)籍基流:當(dāng)用戶(hù)打開(kāi)本網(wǎng)上書(shū)店首頁(yè)時(shí),本用例啟動(dòng)分以下兩種方法。書(shū)籍瀏覽后進(jìn)行書(shū)籍查詢(xún),查詢(xún)書(shū)籍存在的情況下加入購(gòu)物車(chē),書(shū)籍不存在的情況下 進(jìn)行用戶(hù)預(yù)定。在用戶(hù)購(gòu)買(mǎi)書(shū)籍的過(guò)程中,隨時(shí)可以查看自己購(gòu)買(mǎi)書(shū)籍的數(shù)量和所需的開(kāi)銷(xiāo)。②暢銷(xiāo)書(shū)瀏覽,系統(tǒng)通過(guò)過(guò)去銷(xiāo)售的訂單統(tǒng)計(jì)出最暢銷(xiāo)的書(shū)籍。 用戶(hù)瀏覽書(shū)籍 用戶(hù)瀏覽書(shū)籍用例實(shí)現(xiàn)了用戶(hù)瀏覽書(shū)籍,了解書(shū)籍所有信息的功能。 而且是 否登錄也將決定用戶(hù)能否購(gòu)物。網(wǎng)上書(shū)店中的用例有:用戶(hù)管理、購(gòu)買(mǎi)書(shū)籍、結(jié)算、登錄系統(tǒng)、書(shū)籍登記管理等等。 2. 4. 1 角色分析 分析的第一步是定義用例,以描述系統(tǒng)的外部功能需求。 用例 圖通過(guò)描述“系統(tǒng) 和“活動(dòng)者 之間的交互活動(dòng)來(lái)描述系統(tǒng)的行為。需求分析階段使用 ERD來(lái)描述現(xiàn)實(shí)世界中的對(duì)象。 DFD作為結(jié)構(gòu)化系統(tǒng)分析與設(shè)計(jì)的主要方法,已經(jīng)得到了廣泛的應(yīng)用。這在性能上對(duì)系統(tǒng)提出了很高的要求。 3.系統(tǒng)的操作界面友好簡(jiǎn)單,非常人性化。系統(tǒng)要確保用戶(hù)交易安全,保證交易雙方數(shù)據(jù)在遭遇斷電等不可預(yù)知的外界因素干擾下仍能恢復(fù)。當(dāng)客戶(hù)選擇購(gòu)買(mǎi)某圖書(shū)產(chǎn)品時(shí),應(yīng)該能夠?qū)?duì)應(yīng)圖書(shū)信息,如:價(jià)格、數(shù)量記錄到對(duì)應(yīng)的購(gòu)物車(chē)中,并允許客戶(hù)返回書(shū)目查詢(xún)頁(yè)面,選擇其他商品,并添加到購(gòu)物車(chē)中,當(dāng)對(duì)應(yīng)的購(gòu)物訂單生成后,應(yīng)該能夠自動(dòng)清除以生成訂單的購(gòu)物車(chē)中的信息。 界面需求 用戶(hù)界面應(yīng)該做到清晰簡(jiǎn)單一目了然,易于操作。 系統(tǒng)響應(yīng)時(shí)間是衡量系統(tǒng)性能好壞的重要參考。系統(tǒng)應(yīng)該確保數(shù)據(jù)的安全性。分析的根本目的是在開(kāi)發(fā)者和提出需求的人之間建立一種理解和溝通的渠道,因此,系統(tǒng)的需求分析應(yīng)該是開(kāi)發(fā)人員和用戶(hù)或者客戶(hù)一起完成的。 第六章是對(duì)本文的總結(jié)和展望。結(jié)合具體界面截圖講述系統(tǒng)的具體實(shí)現(xiàn)。通過(guò)對(duì)網(wǎng)上書(shū)店的需求分析,對(duì)系統(tǒng)進(jìn)行抽象,進(jìn)行模塊化設(shè)計(jì),將系統(tǒng)分成前臺(tái)和后臺(tái)。分析了系統(tǒng)要達(dá)到的目標(biāo),要解決的問(wèn)題。網(wǎng)上書(shū)店運(yùn)行流程和當(dāng)前狀況。 1. 3 本文主要內(nèi)容 本文研究電子商務(wù)的具體應(yīng)用系統(tǒng)一網(wǎng)上書(shū)店系統(tǒng),該系統(tǒng)具有用戶(hù)注冊(cè)和用戶(hù)管理、書(shū)籍瀏覽、書(shū)籍查詢(xún)、在線購(gòu)書(shū)和系統(tǒng)管理 等功能。 他建議網(wǎng)上書(shū)店要重視信譽(yù),樹(shù)立品牌;增加技術(shù)含量,提高服務(wù)質(zhì)量;恰當(dāng)運(yùn)用網(wǎng)上廣告、鏈接等擴(kuò)大影響;重視運(yùn)用電子郵件促銷(xiāo)。國(guó)內(nèi)網(wǎng)上書(shū)店的支付方式主要有信用卡網(wǎng)上支付、人民幣儲(chǔ)蓄賬戶(hù)網(wǎng)上支付、電匯、郵匯等,圖書(shū)配送方式主要有郵寄、 EMS、 UPS、送書(shū)上門(mén) (本地 )、異地網(wǎng)點(diǎn)配送等,配送時(shí)間沒(méi)有統(tǒng)一的要求。中國(guó)圖書(shū)品種多、質(zhì)量參差不齊、壽命短,自身盈利水平有限,全國(guó)出版社和書(shū)店 粥少僧多,加之圖書(shū)市場(chǎng)進(jìn)入的門(mén)檻低,任何資本都能輕易進(jìn)入,電子商務(wù)基礎(chǔ)薄弱,一哄而起的網(wǎng)絡(luò)書(shū)店管理水平和服務(wù)水平都不如傳統(tǒng)書(shū)店??蛻?hù)如向書(shū)店提供自己的個(gè)人信息,網(wǎng)上書(shū)店會(huì)定期向你傳遞有關(guān)的書(shū)目信息及相關(guān)著作,形成個(gè)性化服務(wù)。一種是出版社網(wǎng)站的一個(gè)有機(jī)組成部分,還有的 是發(fā)行單位的網(wǎng)上表現(xiàn)形式,比如新華書(shū)店開(kāi)辦的網(wǎng)上書(shū)店,個(gè)體書(shū)商創(chuàng)辦的網(wǎng)上書(shū)店,還有網(wǎng)絡(luò)公司創(chuàng)辦的網(wǎng)上書(shū)店等等,形式多樣。從電子商務(wù)的角度來(lái)看,網(wǎng)上書(shū)店的研究主要從信息流、物流和資金流等角度進(jìn)行研究。 伴隨著網(wǎng)絡(luò)的發(fā)展,電子商務(wù)的不斷完善,我國(guó)出版發(fā)行業(yè)越來(lái)越強(qiáng)烈地意識(shí)到網(wǎng)絡(luò)帶來(lái)的巨大商機(jī),各個(gè)出版發(fā)行單位紛紛上馬,搶占有利于自身發(fā)展的網(wǎng)上陣地。網(wǎng)上書(shū)店的建立可以大大減少圖書(shū)銷(xiāo)售中的中間環(huán)節(jié),節(jié)省大量的人力、物力,并且能夠提供更多的書(shū)目信息。我國(guó)由于網(wǎng)絡(luò)技術(shù)起步較晚,電子商務(wù)體系還很不完善,與歐美等國(guó)有較大差距。控制與掌握網(wǎng)絡(luò)的人就是人類(lèi)未來(lái)命運(yùn)的主宰。如果說(shuō)這是一次經(jīng)濟(jì)革命,它比工業(yè)革命所帶來(lái)的影響價(jià)值更深入徹底得多,它將傳統(tǒng)經(jīng)濟(jì)推向了無(wú)形的虛擬空間。 JAVA 。最后,本文總結(jié)了網(wǎng)上書(shū)店系統(tǒng)的應(yīng)用情況。再一步進(jìn)行網(wǎng)上書(shū)店系統(tǒng)的詳細(xì)設(shè)計(jì)。 首先,本文在網(wǎng)上書(shū)店產(chǎn)生的國(guó)際國(guó)內(nèi)背景和對(duì)其開(kāi)發(fā)設(shè)計(jì)所面對(duì)問(wèn)題的基礎(chǔ) 上,分析了系統(tǒng)的功能需求和非功能性需求,并對(duì)系統(tǒng)需求以活動(dòng)圖和用例圖的形式來(lái)詳細(xì)說(shuō)明。他們利用網(wǎng)絡(luò)塑造企業(yè)形象,推銷(xiāo)圖書(shū)及有關(guān)產(chǎn)品,以期達(dá)到向國(guó)內(nèi)外眾多網(wǎng)絡(luò)用戶(hù)宣傳自己,提高企業(yè)知名度和獲取豐厚利潤(rùn)的目的。另外,網(wǎng)上購(gòu)書(shū)的讀者不會(huì)再受地域的限制,而是遍及世界各地,這也就極大限度地?cái)U(kuò)大了出版物的發(fā)行范圍。菏澤學(xué)院本科畢業(yè)設(shè)計(jì)(論文) 菏澤學(xué)院 Heze University 本科生畢業(yè)設(shè)計(jì)(論文) 題 目 網(wǎng)上書(shū)店的設(shè)計(jì)與實(shí)現(xiàn) 姓 名 劉揚(yáng)安 學(xué)號(hào) 202113136 系 別 計(jì)算機(jī)與信息工程系 專(zhuān) 業(yè) 計(jì)算機(jī)科學(xué)與技術(shù) 指導(dǎo)教師 劉琳 職稱(chēng) 實(shí)驗(yàn)師 2021 年 05 月 20 日 菏澤學(xué)院教務(wù)處制 網(wǎng)上書(shū)店的設(shè)計(jì)與實(shí)現(xiàn) 1 目錄 摘要 ................................................................................................................. 錯(cuò)誤 !未定義書(shū)簽。網(wǎng)上書(shū)店的建立可以大大減少圖書(shū) 銷(xiāo)售中的中間環(huán)節(jié),節(jié)省大量的人力、物力,并且能夠提供更多的書(shū)目信息。 伴隨著網(wǎng)絡(luò)的發(fā)展,電子商務(wù)的不斷完善,我國(guó)出版發(fā)行業(yè)越來(lái)越強(qiáng)烈地意識(shí)到網(wǎng)絡(luò)帶來(lái)的巨大商機(jī),各個(gè)出版發(fā)行單位紛紛上馬,搶占有利于自身發(fā)展 的網(wǎng)上陣地。結(jié)合面向?qū)ο蟮姆治鏊枷?,利用時(shí)下流行的框架,采用 J2EE架構(gòu)利用了 Struts、 hibemate 等流行的框架,來(lái)實(shí)現(xiàn)這個(gè)網(wǎng)上書(shū)店系統(tǒng)。技術(shù)架構(gòu)主要考慮系統(tǒng)的可擴(kuò)展性,可維護(hù)性以及性能問(wèn)題,因此采用分層模型的 J2EE架構(gòu),并對(duì)各層的功能進(jìn)行了設(shè)計(jì)分析。第五部分,簡(jiǎn)單分析了系統(tǒng)測(cè)試,并對(duì)測(cè)試過(guò)程和測(cè)試結(jié)果給出了詳細(xì)分析。 關(guān)鍵字: 網(wǎng)上書(shū)店; JAVA; JavaBeans; Servlet; 網(wǎng)上書(shū)店的設(shè)計(jì)與實(shí)現(xiàn) 3 Design and Realization of online bookstore system Student majoring in Computer science and technology LiuYangan Tutor LiuLin Abstract: Inter has provided excellent opportunities for development for e—merce. It gives US enormous economic benefits and the promotion of social productive. Emerce bee new economic growth point. Further development of Emerce based on Interact is changing and enrich the tradition of enterprise management and operation. In the new environment, the traditional business model cannot meet the requirements of economic globalization. Modem enterprises must have a fast response to customer’s demand and realtime business deal with the supply chain capabilities and the ability of collaborative business partners on merce. So some panies have to carry out emerce activities and set up their own emerce web site. Electronic merce is entered from only several small enterprises to government agencies. To adapt to the development for new market needs in use of the business integration enterprise resource and optimize business processes. In this paper, we study several models emerce and e merce system through design of e—merce systems. The emerce systems using popular frameworks and J2EE architecture with the Struts and hibernate and other popular framework. First of all, this article analyzed the system’s functional requirements and non—functional requirements based on background of emerce and problems of development and design. This article also used case diagram and flow chart for specification. Base on the requirement of system, we design the system. Firstly, put forward design goals of system and principle by system requirement. Then, we devise the system function and framework separately. And the technical infrastructure must take note of the extensibility and SO on. So we use J2EE architecture and analyze everylayers’ function. In conclusion we get a dynamic system function flow. One step closer to carry out the detailed design of e—merce systems. This part, In accordance with the difference the management and integration of management ideas to design the system. And the design of each module ale described. The devise for the sake of more fully understand the customer’s relationship management system during the procedure of modeling. We introduce emerce systems in a simple way. And we III analyze the role and location of customer relationship management system. Then give the overall structure of Fig of the merce systems. After understanding the overall structure, we discussed the detailed design of each module separately based on the demand raised by the analysis of differences between management and the int