【正文】
本 系統(tǒng) 出現(xiàn) 的問題將來以后的實(shí)用過程中得到不管完善和 改進(jìn) 。} 成都理工 大學(xué) 20xx 屆學(xué)士學(xué)位 論文( 設(shè)計(jì) ) 23 第 5 章 系統(tǒng)測(cè)試 從 系統(tǒng)的分析到系統(tǒng)的概要設(shè)計(jì) ,最后 再到 系統(tǒng)詳細(xì) 設(shè)計(jì)和具體實(shí)現(xiàn),基本上這個(gè)網(wǎng)上商店后臺(tái)系統(tǒng)已經(jīng)完成,下面我們將對(duì)該系統(tǒng)進(jìn)行一個(gè)簡(jiǎn)單測(cè)試,觀察其具體的實(shí)現(xiàn)效果 并做 一個(gè)簡(jiǎn)單的總結(jié) 測(cè)試方法 系統(tǒng) 測(cè)試的根本目標(biāo)是 找出 并解決系統(tǒng)可能出現(xiàn)的潛在 錯(cuò)誤 , 最終 把一個(gè)高質(zhì)量 、 方便 實(shí)用的網(wǎng)上商店 后臺(tái) 系統(tǒng) 提供給網(wǎng)上商店后臺(tái)管理員,使其的工作效率能夠得到顯著的 提升 ,并且減少其 工作量 。 (urladdress, ())。 } 文件管理 本 功能模塊 實(shí)現(xiàn)管理員 對(duì) 文件進(jìn)行管理 。 if(!(())){ (message, 文件格式不正確 ,只允許上傳gif/jpg/png/bmp圖片 )。 成都理工 大學(xué) 20xx 屆學(xué)士學(xué)位 論文( 設(shè)計(jì) ) 19 圖 42 產(chǎn)品 管理 添加 產(chǎn)品的 實(shí)現(xiàn) 代碼 如下 : public ActionForward add(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ProductForm formbean = (ProductForm) form。 訂單 查詢 界面 見下頁 圖 41。 if(()!=null amp。 ((Long)())。 } Transactional(readOnly=true,propagation=) public long getCount() { return (Long) (select count(+ getCountField() +) from + getEntityName()+ o).getSingleResult()。 文件 管理就是對(duì)系統(tǒng)的文件進(jìn)行一個(gè)簡(jiǎn)單的 上傳 與管理。 許多 中小型企業(yè)看到了做電子商務(wù)的甜頭,開始 不斷向 電子商務(wù)領(lǐng)域發(fā)展,現(xiàn)在中國(guó)的電子商務(wù)市場(chǎng)還未趨于飽和。 文件 管理這里只設(shè)計(jì)文件的上傳,所以不再繪制 用例圖 。 Eclipse 最早 是有 IBM公司 開發(fā)的,后來 被 其他公司或者個(gè)人不斷完善 。 4. JDBC: JDBC(Java Database Connectivity, Java 數(shù)據(jù)庫連接 )API 是一個(gè)標(biāo)準(zhǔn) SQL(Structured Query Language,結(jié)構(gòu)化查詢語言 )數(shù)據(jù)庫訪問接口,它使數(shù)據(jù)庫開發(fā)人員能夠用標(biāo)準(zhǔn) Java API 編寫數(shù)據(jù)庫應(yīng)用程序。通過 這次 畢業(yè)設(shè)計(jì),拓展了我的知識(shí), 對(duì) 開發(fā)過程有了更 全面 的了解 , 并且能 夠?qū)⑦@些知識(shí) 熟練 的運(yùn)用到實(shí)際開發(fā)過程中, 開發(fā) 出一個(gè)界面 美觀 ,功能齊全的 電子 商務(wù)系統(tǒng)。 關(guān)鍵詞: Java EE, Stuts2, EJB, Spring, 系統(tǒng) 開發(fā) II The development of online store system based on Java EE Abstract: This paper mainly introduces the development of an online store system using J2EE technology. J2EE and other technologies pared with its inparable advantages, can realize the electronic merce system portability, expansibility, security and cross platform. The main use of Stuts2 in the development of the system, EJB, Spring technology. This paper mainly contains the following contents: system development background and significance of the development, development technology and development environment introduction, system analysis and system design, and finally pleted the implementation and testing of the system. In the development process, map function case, data table chart. The system is mainly to achieve the following functions: order management, product management, document management, user management, departmental staff management. Through the development of the online store system background, I mastered the basic electronic merce system development process, deepen the understanding and application of technology development, can be related to the development of technology is applied to the actual development of the project. Keywords: J2EE, Stuts2, EJB, Spring, System development III 目 錄 第 1 章 前言 ........................................................ 1 開發(fā)背景和開發(fā)意義 ......................................................................................... 1 開發(fā)背景 ....................................................................................................... 1 開發(fā)意義 ....................................................................................................... 1 技術(shù)簡(jiǎn)介和開發(fā)環(huán)境 ......................................................................................... 2 開發(fā) 技術(shù)簡(jiǎn)介 .............................................................................................. 2 開發(fā)環(huán)境搭建 ............................................................................................... 4 第 2 章 系統(tǒng)分析 ..................................................... 5 系統(tǒng) 需求 ............................................................................................................. 5 功能性需求 .................................................................................................. 5 非功能性需求 .............................................................................................. 8 可行性分析 ......................................................................................................... 9 第 3 章 系統(tǒng) 設(shè)計(jì) .................................................... 10 設(shè)計(jì)思想概述 ................................................................................................... 10 后臺(tái)總體功能設(shè)計(jì) ............................................................................................ 11 數(shù)據(jù)庫 設(shè)計(jì) ....................................................................................................... 11 第 4 章 系統(tǒng) 實(shí)現(xiàn) .................................................... 14 數(shù)據(jù)庫 DAO 操作 ............................................................................................ 14 訂單管理 ........................................................................................................... 17 產(chǎn)品管理 ........................................................................................................... 18 文件管理 ........................................................................................................... 20 用戶管理 ........................................................................................................... 21 部門員工管理 ................................................................................................... 22 第 5 章 系統(tǒng)測(cè)試 .................................................... 23 測(cè)試方法 ..............................................