【文章內(nèi)容簡(jiǎn)介】
......... 7 Struts2 principle of work ......................................................................... 7 3 The construction of the development environment and configuration .......................... 9 Development environment introduction ............................................................. 9 Develop software download, install and environment configuration................. 9 JDK download and installation ......................................................... 9 Tomcat download and installation ................................................... 10 download and installation .............................................. 10 Struts2 download and environment of the setups configuration ........... 10 4 System requirements and analysis ............................................................................... 13 Feasibility analysis ........................................................................................... 13 Technical feasibility............................................................................... 13 Economic feasibility .............................................................................. 13 Legal feasibility ..................................................................................... 13 System needs analysis ...................................................................................... 13 Function demand ................................................................................... 13 Performance demands ........................................................................... 14 System data flow analysis ................................................................................ 14 On top of the data flow chart ................................................................. 14 The second data flow chart .................................................................... 14 The third layer data flow chart .............................................................. 15 5 System overall design.................................................................................................. 17 Website functions overview.............................................................................. 17 CONTENTS VII System function ..................................................................................... 17 System characteristics ........................................................................... 17 Website system design ...................................................................................... 18 The system function module partition ................................................... 18 Database design ................................................................................................ 20 Database analysis .................................................................................. 20 Database concept structure design ........................................................ 20 Database detail structure design ............................................................ 20 Connect to database code ...................................................................... 21 6 The detailed design ...................................................................................................... 23 Front desk part design ...................................................................................... 23 Public module design ............................................................................ 23 User login module design ...................................................................... 23 User registration module design ............................................................ 24 The user data module design ................................................................. 25 The realization of the function of the shopping cart.............................. 26 View history shopping record realized .................................................. 28 Backstage part design ....................................................................................... 28 Administrator on function design .......................................................... 28 Books management functions ............................................................... 28 User management functions .................................................................. 29 Order management functions ................................................................ 29 Blocker function in this system, the application .............................................. 29 7 Last word ..................................................................................................................... 31 To thank .......................................................................................................................... 33 reference ......................................................................................................................... 35 statement 1 緒論 1 1 緒論 研究背景 Inter 的迅速發(fā)展正以前所未有的深度和廣度影響和改善著人類(lèi)生活的各個(gè)方面。 今天的 Inter 已不再是計(jì)算機(jī)人員和軍事部門(mén)進(jìn)行科研的領(lǐng)域,而是變成了一個(gè)開(kāi)發(fā)和使用信息資源的覆蓋全球的信息海洋。在 Inter 上,按從事的業(yè)務(wù)分類(lèi)包括了廣告公司,航空公司,農(nóng)業(yè)生產(chǎn)公司,藝術(shù),導(dǎo)航設(shè)備,書(shū)店,化工,通信,計(jì)算機(jī),咨詢,娛樂(lè),財(cái)貿(mào),各類(lèi)商店,旅館等等 100 多類(lèi),覆蓋了社會(huì)生活的方方面面,構(gòu)成了一個(gè)信息社會(huì)的縮影。越來(lái)越多的人開(kāi)始意識(shí)到 Inter 所蘊(yùn)含的經(jīng)濟(jì)價(jià)值的無(wú)窮商機(jī) 。電 子商務(wù)是當(dāng)今發(fā)展最快、最流行、最熱的 IT 行業(yè)。網(wǎng)上書(shū)店是一個(gè)在因特網(wǎng)上銷(xiāo)售圖書(shū)的電子商務(wù)系統(tǒng)。網(wǎng)上書(shū)店 在價(jià)格 、 時(shí)效性 、 品種 、 查詢方式等方面都有優(yōu)勢(shì) 。本系統(tǒng)正是在這樣的背景下,順應(yīng)時(shí)代的發(fā)展與科技的進(jìn)步而產(chǎn)生的,并擁有很大的發(fā)展空間。 網(wǎng)上書(shū)店的發(fā)展 國(guó)外最早的電子商務(wù)體驗(yàn)其實(shí)是從網(wǎng)上售書(shū)開(kāi)始的。 1994 年 7月,美國(guó)考夫?貝佐斯在西雅圖開(kāi)設(shè)了全球第一家網(wǎng)上書(shū)店 —— 亞馬遜書(shū)店。這個(gè)與世界最長(zhǎng)河流亞馬遜同名的網(wǎng)絡(luò)書(shū)店也是全球電子商務(wù)的一面旗幟。從創(chuàng)辦至今,亞馬遜公司的全球客戶已達(dá) 4000 萬(wàn),是最受歡迎的購(gòu)物網(wǎng)站; 它在網(wǎng)絡(luò)上銷(xiāo)售的商品已達(dá) 430 萬(wàn)種;營(yíng)業(yè)額已超過(guò) 10億美元;其公司市值更超過(guò)了 300 億美元。亞馬遜成功的示范效應(yīng)讓網(wǎng)上售書(shū)在世界范圍內(nèi)很快形成了一股洶涌之潮,尤其是西歐、北美等發(fā)達(dá)國(guó)家。甚至在傳統(tǒng)發(fā)行體系頗為完善的德國(guó),也同樣刮起了網(wǎng)上售書(shū)的旋風(fēng)。 2020 年左右,中國(guó)也引入了網(wǎng)上書(shū)店這種 B2C 的電子商務(wù)模式。有以卓越網(wǎng)和當(dāng)當(dāng)網(wǎng)為代表的直接建立在因特網(wǎng)上的虛擬書(shū)店,其中卓越定位于精品圖書(shū)的銷(xiāo)售,當(dāng)當(dāng)網(wǎng)則是追隨亞馬遜模式的多品種銷(xiāo)售的代表;還有一類(lèi)是出于競(jìng)爭(zhēng)或仿效也加入網(wǎng)上書(shū)店行列的一些老牌圖書(shū)銷(xiāo)售商,如