【正文】
畢業(yè)設(shè)計 ( 論文 ) 基于 j2me 平臺的掌上網(wǎng)絡(luò)商店-服務(wù)器端 開發(fā) 論文作者姓名: 申請學(xué)位專業(yè): 申請學(xué)位類別: 指導(dǎo)教師姓名 (職稱 ): 論文提交日期: 基于 j2me 平臺的掌上網(wǎng)絡(luò)商店-服 務(wù)器端 開發(fā) 摘 要 過去的幾年,電子商務(wù)的迅猛發(fā)展為企業(yè)創(chuàng)造了極大的價值,使傳統(tǒng)的企業(yè)商務(wù)模式發(fā)生了很大的改變。隨著手機(jī)使用的普及和無線技術(shù)的發(fā)展,移動電子商務(wù)將會作為電子商務(wù)領(lǐng)域中的一種新型的電子商務(wù)模式,其發(fā)展前景是十分誘人的??梢灶A(yù)見的是,移動電子商務(wù)將成為 21 世紀(jì)電子商 務(wù)領(lǐng)域的主戰(zhàn)場。 J2ME 是為 嵌入式消費(fèi)電子設(shè)備 提供的 JAVA 語言開發(fā)平臺,是針對資源受限設(shè)備。因此基于 J2ME 平臺的無線終端的應(yīng)用程序開發(fā)以及與網(wǎng)絡(luò)服務(wù)器端的信息交互開發(fā)就十分重要。利用客戶端 + Java servlet + SQL Server 數(shù)據(jù)庫三層模式實現(xiàn)網(wǎng)上商店系統(tǒng)是通用的方法。所有的業(yè)務(wù)邏輯都封裝在 servlet 中,數(shù)據(jù)庫的使用提高了數(shù)據(jù)的安全性,而采用 可擴(kuò)展標(biāo)識語言 XML 的數(shù)據(jù)格式實現(xiàn) 了 跨平臺的數(shù)據(jù)交換 。 詳細(xì) 闡述 了 系統(tǒng)的需求分析、系統(tǒng)總體架構(gòu)及詳細(xì)設(shè)計,系統(tǒng)實現(xiàn)了以下功能:會員注冊、登錄、瀏 覽物品詳細(xì)信息和購買物品 。 關(guān)鍵詞 : J2ME; 可擴(kuò)展標(biāo)識語言 ; SERVLET; 網(wǎng)絡(luò)商店 The Palm Platform of eShop Based on the J2ME-Server Development Abstract Over the years, the fast fierce development of electronic merce created tremendous value for the enterprise, which greatly changed traditional enterprise merce pattern. With the prevalence of mobile phone and development of wireless, Mobile emerce will be a new emerce mode in the electronic merce realm, and it is very promising. It can be predicted that the mobile emerce will bee the major industry of emerce in the 21st century. J2ME is the platform that provides the JAVA language to develop the embedded electronic equipment of expense, which aims at the equipment that resource is limited. Therefore the interactive information exploitation developing with work server and applications of wireless terminal development based on J2ME platform is very important. It is a general method to implement the system of eshop using three layers of pattern: client side + Java servlet + database of SQL Server. All the business logic encapsulated in the servlet, using of the database improved the security, and using the XML data format achieved crossplatform data exchange. To the system demand analysis, the system requirement analysis, the overall of system construction and the detailed design are elaborated in details in this paper, and the system achieves the following functions: Member registration, login, browse detailed information and purchase goods. Key words: J2ME。 XML。 SERVLET。 ESHOP 目 錄 論文總頁數(shù): 24 頁 1 引言 .......................................................................................................................... 1 選題背景 ........................................................................................................ 1 選題意義 ........................................................................................................ 1 2 相關(guān)技術(shù)及開發(fā)平臺簡介 .......................................................................................... 2 J2ME 簡介 ...................................................................................................... 2 SQL SERVER 數(shù)據(jù)庫和 JDBC ......................................................................... 2 JAVA SERVLET 技術(shù)介紹 ............................................................................... 2 XML 和 JDOM................................................................................................ 3 XML 簡介 ............................................................................................ 3 JDOM 技術(shù) .......................................................................................... 3 開發(fā)平臺及系統(tǒng)配置 ....................................................................................... 3 3 系統(tǒng)需求分析和設(shè)計方案 .......................................................................................... 4 需求分析 ........................................................................................................ 4 系統(tǒng)總體框架 ................................................................................................. 4 系統(tǒng)設(shè)計關(guān)鍵技術(shù) .......................................................................................... 5 網(wǎng)絡(luò)的連接 .......................................................................................... 5 數(shù)據(jù)存儲方式和數(shù)據(jù)的交換 .................................................................. 5 業(yè)務(wù)數(shù)據(jù)流分析 .............................................................................................. 5 聯(lián)網(wǎng)的流程 .......................................................................................... 5 訪問數(shù)據(jù)庫的流程 ................................................................................ 6 輸入 XML 數(shù)據(jù)解析流程 ...................................................................... 6 輸出 XML 文檔建立流程 ...................................................................... 6 和客戶端交互接口的約定 ................................................................................ 7 關(guān)于 URL............................................................................................. 7 URL 參數(shù)約定規(guī)則 ............................................................................... 7 接收和發(fā)送的 XML 文檔格式的約定 ..................................................... 7 數(shù)據(jù)庫的分析與設(shè)計 ....................................................................................... 8 注冊用戶基本信息表 user ..................................................................... 8 商品信息表 .......................................................................................... 8 4 具體的設(shè)計流程和實現(xiàn)系統(tǒng)構(gòu)架 ................................................................................ 8 系統(tǒng)主要工作流程 .......................................................................................... 8 系統(tǒng)功能模塊設(shè)計 .......................................................................................... 9 數(shù)據(jù)庫聯(lián)網(wǎng)模塊的設(shè)計 ......................................................................... 9 注冊模塊的設(shè)計 ................................................................................. 10 登陸模塊的設(shè)計 ................................................................................. 13 查詢模塊的實現(xiàn) ................................................................................. 15 購買功能模塊的實現(xiàn) ......