網購物系統的設計與實現畢業設計(論文)_第1頁
網購物系統的設計與實現畢業設計(論文)_第2頁
網購物系統的設計與實現畢業設計(論文)_第3頁
網購物系統的設計與實現畢業設計(論文)_第4頁
網購物系統的設計與實現畢業設計(論文)_第5頁
已閱讀5頁,還剩81頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、大連交通大學信息工程學院畢業設計(論文)任務書題 目 樂途網購物系統的設計與實現任務及要求:1.設計(研究)內容和要求任務:1、 調查電子商務技術發展近況,完成實習報告,字數不少于3000,第三周交給指導老師。2、 結合自己實習情況安排進度,填寫進度計劃表,第二周完成后交給指導老師簽字,并嚴格執行。3、 按照軟件工程思想,獨立完成系統的設計和程序開發,完成代碼估計2000行左右。4、 用jsp技術實現樂途網購物指南的功能。5、 程序簡潔,算法可行,運行情況良好。要求:1、 每周和指導老師至少見面溝通一次,回報課題進展情況,接受老師詢問。2、 接到任務書后,查閱與題目及專業相關的外文資料進行翻譯

2、,要求不少于10000個外文字符,譯出漢字不得少于3000,于第四周交給指導老師審閱。3、 畢業設計第13周完成畢業論文的裝訂,并由指導老師評閱。論文要求12000字以上,包括綜述、系統總體設計、系統實現、性能分析、結論等。4、 教學第13周通過中軟及教研室組織進行軟件驗收,驗收時要提供軟件使用說明書。5、 于第13周提出畢業答辯申請并簽字。6、 第14 周答辯,要求制作ppt2.原始依據 通過大學幾年的學習,已經學習了諸如軟件工程、數據庫原理及應用、數據結構、c+、visual basic、java等多門程序設計語言和網絡等基礎知識和專業知識,學生有能力而且可以獨立完成小中型項目的設計與開發

3、。學校現有設備和環境可以提供給學生實習和上機,而且具有專業老師可以指導學生。3.參考文獻1 陽雪峰.陳文臣.java web2.0基于spring.struts.hibernate輕量級架構開發.機械工.業出版社.2009.12 武延軍.黃飛躍.精通jsp編程技術.人民郵電出版社.2001.83 劉斌.精通java web整合開發(jsp+struts+hibernate).電子工業出版社.2011.44 謝星星.企業應用架構設計-struts 2+hibernate 3+spring 2.水利水電出版社.2010.55 劉斌.大型門戶網站是這樣煉成的!(struts 2+spring 2+h

4、ibernate 3)電子工業出版社.2010.36 陳海山.深入java servlet 網絡編程.清華大學出版社.2002.2 7 (美)斯蒂芬等著.輕松掌握sql(第五版).電子工業出版社.2009.1 8 steven holzner.java 技術內幕.機械工業出版社.2002.1 9 phil hanna.jsp技術大全.機械工業出版社.2002.3 10 karl moss.java servlet 開發人員指南.清華大學出版社.200211 richard yates著.cold spring harbor.random house.2011.1112 harvey m.dei

5、telpaul j.deitel著.java how to program.北京機械工業出版社.2002.01指導教師簽字:教研室主任簽字: 2012 年 3 月 26 日大連交通大學信息工程學院畢業設計(論文)進度計劃與考核表學生姓名劉戀專業班級軟件工程08-2班指導教師王鑫翟悅本課題其他人員無題目樂途網購物系統的設計與實現日期計劃完成內容完成情況指導老師檢查簽字第1周實習調研,查閱課題相關外文資料第2周了解行業狀況、查閱文獻資料,閱讀資料,撰寫調研報告第3周完成10000字符或3000漢字以上的外文翻譯資料,準備資料,學習jsp技術第4周進行需求分析第5周進行概要設計第6周進行概要設計,

6、基本框架完成,提交畢業論文提綱第7周完成后臺數據庫的設計并編碼,完成部分論文第8周完成前臺界面的設計并編碼,完成部分論文第9周繼續編碼并進行測試,繼續編寫畢業設計論文第10周繼續進行程序測試,繼續編寫畢業設計論文第11周整理資料、文檔、圖表等,修改畢業設計論文第12周完成畢業設計論文,打印,按要求裝訂第13周軟件驗收和準備畢業設計答辯第14周畢業設計答辯及成績評定指導教師簽字: 年月日注:“計劃完成內容”由學生本人認真填寫,其它由指導教師考核時填寫。大連交通大學信息工程學院畢業設計(論文)調研報告學生姓名 劉戀 專業班級 軟件工程08-2班 指導教師 王鑫翟悅 職 稱 高工 講師 所在單位 信

7、息科學系軟件工程教研室 教研室主任 劉瑞杰 完成日期 2012 年 4 月 6 日實習報告1 課題來源及意義伴隨著計算機技術在各行各業日益廣泛和深入的應用,網絡的概念早已深入人心。網絡在各行各業的發展戰略中占據了重要的位置,成為商家不可分割的部分。商品的宣傳已不只局限于電視與報紙,網絡已成為商家展示自己的另一個舞臺。商家建立網站,將商家各方面的宣傳與服務展現于網絡中,通過網絡更可實現如網上購物、信息查尋等功能,這些在改變我們原有經營方式與經營理念的同時,也為商家帶來了更高的效益。因此,對于商家來說,擁有一個屬于自己的網站是至關重要的。建立后的網站系統是一個動態、交互式、具有商品提供、系統管理、

8、用戶留言等功能的電子商務網站。近年來,隨著internet的迅速崛起,互聯網已日益成為收集提供信息的最佳渠道并逐步進入傳統的流通領域。于是電子商務開始流行起來,越來越多的商家在網上建起在線商店,向消費者展示出一種新穎的購物理念。網上購物系統作為b2b,b2c(business to customer,即企業對消費者),c2c(customer to customer,即消費者對消費者)電子商務的前端商務平臺,在其商務活動全過程中起著舉足輕重的作用。本文主要考慮的是如何建設b2c的網上購物系統。網上購物是一種具有交互功能的商業信息系統。它向用戶提供靜態和動態兩類信息資源。所謂靜態信息是指那些比經

9、常變動或更新的資源,如公司簡介、管理規范和公司制度等等;動態信息是指隨時變化的信息,如商品報價,會議安排和培訓信息等。網上購物系統具有強大的交互功能,可使商家和用戶方便的傳遞信息,完成電子貿易或edi交易。這種全新的交易方式實現了公司間文檔與資金的無紙化交換。在互聯網服務業務方面:電子郵件、搜索引擎、網上銀行、在線交易、網絡廣告、網絡新聞、網絡游戲等服務業務仍然快速的發展著。2 國內外的現狀伴隨著internet的蓬勃發展,網絡購物中心作為電子商務的一種形式正以其高效、低成本的優勢,逐步成為新興的經營模式和理念,人們已不再滿足于信息瀏覽和發布,而是渴望著能夠充分享受網絡所帶來的更多的便利。的確

10、,客戶足不出戶便可以方便快捷的選購自己喜歡的商品,這正是網絡購物中心為客戶帶來的好處。敏銳的網絡商家當然不會錯過這樣絕好的機會,越來越多的網站投身到提供網絡購物服務的行列中來,一個基于internet的全球電子商務框架正在形成。在美、日等信息化程度較高的國家和地區,網絡商店發展速度迅猛,美國的世界級超一流的零售商,如沃爾瑪凱瑪特,家庭倉儲、科羅格、j.c培尼等紛紛擠身于網絡經商的行列。調查表明:美國的家庭已越來越習慣于在家中從網上購物。 在中國發展網上購物具有良好的群眾基礎,網上購物方式日趨被大家所接受。在最近一段時間里,我也查了一些關于網上購物的信息。有60.4%的網站屬于企業網站,可見如今

11、企業都將網站作為推廣自己的重要手段。其次是個人網站。而政府部門的網站占到4.4%。但是,另有調查顯示,將近75%的企業的網站每天的點擊率在200次以下,更有51.5%的企業網站的點擊率不足50次,僅有8.6%的企業網站的點擊率每天超過1000次。這說明,做好一個網站,做出網站的特色也企業信息與新聞相結合來吸引人觀看是一個非常重要的問題。另外,作為信息、新聞傳播的傳統模式的報刊業也將目光和精力投入到網絡網站上來。毫無疑問,高速,海量的信息傳輸對報刊業也是巨大的刺激。此外,隨著電子時代的迅速發展,mp3等電子產品已受到廣大的消費群體高度的關注。生產制造mp3的廠商作為新時代產業的一個主要部分,當然

12、也會緊隨著時代的發展來使自己在市場與行業中更具競爭力。利用電子商務的模式,在介紹推廣自己的同時,以新的一種渠道銷售自己的產品,也愈發被關注。因此,設計一個具有電子商務功能的企業網站具有非常好的開發與應用前景。3 本課題的研究目標基于jsp的樂途網購物系統,其開發主要包括后臺數據庫的建立和維護以及前端應用程序的開發兩個方面。對于前者要求建立數據一致性和完整性強,數據安全性好的數據庫,而對于后者則要求應用程序功能完備,易使用等特點。根據軟件開發流程,本系統的開發過程是:首先在短時間內建立系統應用原型;然后,對初始原型系統進行需求迭代,不斷修正和改進,直到形成用戶滿意的可行系統。本課題本著與時俱進的

13、方針,從符合操作簡便、界面友好、靈活、實用、安全的要求出發,實現用戶在網絡中,足不出戶就可以進行網上購物,方便、直觀。系統還將提供用戶自己的訂單,用戶可以享受貨到付款的形式。互聯網提供了可以無限伸展的展示空間,可以容納無限的圖書和圖樣以及內容。在當當網,消費者無論是購物還是查詢,都不受任何時間和地域的限制。購物網站就是提供網絡購物的站點,足不出戶即可購買到你所喜歡的商品。4 研究內容1、通用jsp應用系統,包括交易系統和管理系統兩個獨立的子系統,主要包括:商品展示、購物車管理、我的訂單、用戶管理、商品管理五個功能模塊。(1)交易系統功能描述:商品展示:實現商品預覽、商品明細、分類檢索功能。購物

14、車:實現添加商品、刪除列表、恢復列表、數量修改、清空購物車、結算功能。我的訂單:實現訂單確認、訂單列表、刪除訂單、查詢明細功能。用戶管理:實現登入/登出、用戶注冊、信息修改功能。(2)管理系統管理描述:用戶管理:對于系統管理員提供用戶刪除、用戶查詢功能。商品管理:實現商品列表、商品發布、商品刪除、商品修改功能。2、為保證系統的高效、科學、合理,系統應實現以下目標:(1)系統能夠穩定、可靠的運行,具有良好的可維護性、可擴展性、可移植性。在數據組織、系統功能、系統結構上保留足夠的擴充余地,便于今后的擴充。(2)系統能夠簡化管理,提高效率。(3)系統能夠提供流暢的數據信息處理、快速方便的信息查詢。為

15、確保系統實際應用時的科學性和先進性,本系統采用b/s 結構的設計思想。(4)系統具有良好的安全保密性能,良好的誤操作保護和故障恢復性能。(5)具有良好的用戶接口,操作簡單、方便,易于學習和掌握。本課題為小組合作開發,本人主要負責設計并實現商品顯示、購物車、用戶管理等模塊。商品顯示:這一部分將該網站要銷售的商品系統有層次的顯示呈現給大家,讓用戶比較直觀的來選擇購物。購物車:這一部分利用browser的cookie和session記憶功能,將用戶所購買的商品進行管理。用戶管理:這一部分管理用戶的權限,管理員有添加商品和刪除商品的權限,而普通用戶只有購買商品的權限。還包括用戶的登錄,登出,注銷,注冊

16、等功能。5可行性分析隨著計算機技術的發展和網絡人口的增加,網絡世界也越來越廣博,越來越豐富,電子商務已經成為網上的一股潮流。我們相信要不了太長有時間,顧客就可以在網絡世界上獲得他們在現實世界上可以獲得的所有商品和服務。可行性研究是為了弄清楚系統開發的項目是不是可以實現和值得進行研究的過程,實際上是一次大大簡化系統分析和系統設計的過程,所以,進行可執行性的分析是非常必要的,也是很重要的,經過最初的設計目標和進行的市場調查得出以下四點的可行性分析:(1)經濟可行性:該平臺設計只是作為本人的畢業設計,又因為本人的設計能力有限,其功能還不能完善,所以沒有什么經濟效益可談。(2)技術可行性:jsp技術已

17、經較為成熟。(3)運行可行性:該系統需要搭建jvm即java虛擬機和tomcat環境,在此環境下系統,并且在正確連接數據庫后可以正常運行。(4)法律可行性:該平臺是作為畢業設計與商業無關,又因為是自主開發設計,因此不會構成侵權,在法律上是可行的。通過以上的可行性分析,我將采用jsp技術,運用my sql數據庫對網站進行建設。6 研究方法與系統采用技術開發工具:myeclipse系統服務器:tomcat 5.8數據庫:mysql數據庫。開發時用到的技術有:1)servlet:一種服務器端的java應用程序。 2)jsp:是由sun microsystems公司倡導、許多公司參與一起建立的一種動態

18、網頁技術標準。3)html:超文本標記語言或超文本鏈接標示語言。4)css:層疊樣式表。5)javascript腳本語言。6)xml可擴展標記語言。7)hibernate:開放源代碼的對象關系映射框架。8) struts 2.0:基于mvc的一個輕量級框架。7 進度安排第1周實習調研,查閱課題相關外文資料第2周了解行業狀況、查閱文獻資料,閱讀資料,撰寫調研報告第3周完成10000字符或3000漢字以上的外文翻譯資料,準備資料,學習jsp技術第4周進行需求分析第5周進行概要設計第6周進行概要設計, 基本框架完成,提交畢業論文提綱第7周完成后臺數據庫的設計并編碼,完成部分論文第8周完成前臺界面的設

19、計并編碼,完成部分論文第9周繼續編碼并進行測試,繼續編寫畢業設計論文第10周繼續進行程序測試,繼續編寫畢業設計論文第11周整理資料、文檔、圖表等,修改畢業設計論文第12周完成畢業設計論文,打印,按要求裝訂第13周軟件驗收和準備畢業設計答辯第14周畢業設計答辯及成績評定8 參考文獻1 陽雪峰.陳文臣.java web2.0基于spring.struts.hibernate輕量級架構開發.機械工業出版社.2009.12 武延軍.黃飛躍.精通jsp編程技術.人民郵電出版社.2001.83 劉斌.精通java web整合開發(jsp+struts+hibernate).電子工業出版社.2011.44

20、謝星星.企業應用架構設計-struts 2+hibernate 3+spring 2.水利水電出版社.2010.55 劉斌.大型門戶網站是這樣煉成的!(struts 2+spring 2+hibernate 3)電子工業出版社.2010.36 陳海山.深入java servlet 網絡編程.清華大學出版社.2002.2 7 (美)斯蒂芬等著.輕松掌握sql(第五版).電子工業出版社.2009.1 8 steven holzner.java 技術內幕.機械工業出版社.2002.1 9 phil hanna.jsp技術大全.機械工業出版社.2002.3 10 karl moss.java serv

21、let 開發人員指南.清華大學出版社.200211 richard yates著.cold spring harbor.random house.2011.1112 harvey m.deitelpaul j.deitel著.java how to program.北京機械工業出版社.2002.01大連交通大學信息工程學院畢業設計(論文)外文翻譯學生姓名 劉戀 專業班級 軟件工程08-2班 指導教師 王鑫翟悅 職 稱 高工講師 所在單位 信息科學系軟件教研室 教研室主任 劉瑞杰 完成日期 2012 年 4 月 13 日the jsp basic learning material1. jsp

22、technology overviewin from the official launch jsp (javaserver web), then the new web application development skills quickly to cause the attention of people. the jsp for creating highly dynamic web application provides a unique development environment. according to the statement from can adapt to t

23、he market, the jsp webserver, including i can with apache iis4.0, 85% of server products. even if you the asp "madly", we believe, paying attention to the development of jsp are still very be necessary.(1)jsp simple compared with aspthe jsp and microsoft of asp technology are very similar.

24、 both offer in html code mixed some code, by the language engine interpretive execution code's ability. in asp and jsp environment, html code is mainly responsible for describe information display, and program code is used to describe handling logic. normal html page only depends on the web serv

25、er and the asp and jsp page need additional language engine analysis and implementation program code. the program code to be executing embedded into html code, then the message to all browsers. asp and jsp are facing the web server technology, the client browser does not need any additional software

26、 support.asp programming language is vbscript such scripting language, jsp use is java, this is both one of the most significant differences. in addition, asp and jsp more essential difference: two languages in a totally different way engine handling page embedded program code. in the asp, vbscript

27、code is asp engines interpret execution; in the jsp, code has been compiled into java virtual machine by servlet and execution, the compiler operation is only on the jsp page first request happen.(2)dimension of running environmentfrom the jsp page in from here can also download the jsp specificatio

28、n, these standard defines the supplier in creating jsp engine when must comply to some rules.execute jsp code needed on the server installation jsp engine. here we use is from the development kit (javaserver web jswdk). to facilitate learning, this package offers a lot for modification examples. jsw

29、dk after installation, just need to perform startserver command can server. the default configuration server in the port 8080 surveillance, use http:/localhost:8080 can open default page.in running the jsp sample page before installation, please pay attention to the jswdk directory, especially "

30、;schools" subdirectories of content. execute the sample pages, here can see how the jsp page are converted into java source file, then compiled into scale-up file (i.e. servlet). jswdk packages examples in the page is divided into two categories, they or jsp files, or is included in a form of h

31、tml files, these forms all by jsp code processing. and as the java, jsp asp code are executed on the server. therefore, in the browser use "the view source" menu is unable to see the jsp code, can see the results html code. all the source code examples are by a single "provide example

32、s" page.eclipse is an open source, based on a java extensible development platform. eclipse it just a framework and a set of service, used to construct the development environment through plug-ins components, the key is eclipse comes in a standard plugin sets, including java development tools (

33、java development tools, jdt). the eclipse is developed by ibm alternative commercial software for the next generation of java visual age-related ide development environment, november 2001 contribution to the open source community, now by a non-profit software vendors alliance eclipse foundation (ecl

34、ipse foundation) management.(3)jsp page examples below we analyze a simple jsp page. you can jswdk examples in the directory create another directory store this file, the file name can be arbitrary, but extensions must serve. jsp. from the code below the list can see, except the jsp page than ordina

35、ry html page more java code outside, both has the same basic structure. java code is through < % and % > symbols to join in the middle of the html code, its main function is to generate and display a from 0 to 9 string. in the string in the front and rear of the html code that some are through

36、 the text output. < html> < head>< title>jsp page < /title>< /head> < body> < % page language="java" %> < %! string str="0" %> < % for (int i=1; i < 10; i+) str = str + i; %> jsp before out。 < p> < %= str %> <

37、; p> jsp after out。 < /body> < /html> the jsp page can be divided into several parts for analysis.first is the jsp instructions. it describes the basic information of the page, such as the use of language, whether to maintain conversation status, whether to use cushion etc. the jsp in

38、structions by < % beginning, % > over. in this example, directive "< % brief language =" java "% >" simply defines this example is using java language (at present, in the jsp specification in java is the only support language).next came the jsp statement. the jsp stat

39、ement may be regarded as the definition of this level of variables and method of place. the jsp statement by < %! start, % > over. if the cases of "< %! string str =" 0 " % > "defines a string variable. in every statement behind must have a semicolon, just like in ord

40、inary java class declaration in the same member variables.located in < % and % > between the code block is to describe the jsp page handling logic of java code, such as the example shown the seas cycle.finally, located in < % = and % > between code is called the jsp expression, such as t

41、he example of "< % = str % >" below. the jsp expression provides a will jsp generated numerical embedded html pages of simple method.2. the session state managementthe session state maintain is the web application developers must face the problem. there are various ways can be used t

42、o solve this problem, if use cookies, hidden form input domain, or directly to the url in additional status information. java servlet provides a continuous effectively in multiple requests the conversation between objects, the object allows users to store and retrieve the session state information.

43、the jsp also support servlet of this concept.in the jsp from guidelines can see many relevant implied object instructions (implicit meaning is that these objects can directly referenced, do not need explicit statement, also do not need special code to create actually cases). for example that object,

44、 it is the httpservletrequest a derived class. the object contains all the related current browser requests information, including cookies, html form variables, etc. session object is also such a hidden objects. this object in the first jsp page is loaded, and automatically created by related to tha

45、t objects. the conversation with asp object of similar, jsp session object for those who hope that through multiple pages to complete a affairs application is very useful.to illustrate the session object concrete application, next we use three pages more than a page of simulation web application. th

46、e first page (q1. html) contain only a requirement to enter your user name html forms, the html code is as follows: < html> < body> < form method=post action="q2.jsp"> please write your name: < input type=text name="thename"> < input type=submit value=&

47、quot;submit"> < /form> < /body> < /html> the second page is a jsp page (q2. jsp), it through that object extraction in q1. html form thename value, it will be stored for name variable, then will the name value saved to the session objects. session object is a name/value pai

48、rs set, here, name/value pairs of the name is "thename", namely for name values of the value of the variable. due in session during the session object is effective until, so here preserved variables on subsequent page as well. q2. jsp another task is to ask the second question. below is it

49、s code: < html> < body> < % page language="java" %> < %! string name="" %> < % name = request.getparameter("thename"); session.putvalue("thename", name); %> what is your name: < %= name %> < p> < form method=post ac

50、tion="q3.jsp"> what do you want to eat? < input type=text name="food"> < p> < input type=submit value="submit"> < /form> < /body> < /html> the third page is a jsp page (percentile. jsp), main task is to show the q&a results. it

51、 from the value of the thename session object extraction and display it, prove the value in the first though page input, but through session object is maintained. percentile. jsp another task is to extract the user input at the second page and displays it: < html> < body> < % page lan

52、guage="java" %> < %! string food="" %> < % food = request.getparameter("food"); string name = (string) session.getvalue("thename"); %> your name is: < %= name %> < p> your favorite food is: < %= food %> < /body> < /htm

53、l> 3. citing javabean componentsbased on a java javabean is a kind of software component. in web applications for the jsp integrated javabean component provides the perfect support. this support can not only shorten time (can use directly by test and trustworthy of existing components, to avoid t

54、he repeated development), but also for the jsp application has brought more scalability. javabean components can be used to execute complex computing tasks, or responsible and database of interaction and data extraction, etc. if we have three javabean, they respectively display news, stock price, we

55、ather conditions function, they create contain all these three functions of web page only need to instantiate the three bean, using html forms will be they in turn positioning is ok.to illustrate the jsp javabean application environment, we created a name of taxrate bean. it has two attributes that

56、our product (products) and rate (tax). two set separately used to set the two properties, and two the get method is used to extract the two attributes. in practical applications, this kind of bean shall generally be from a database abstraction tax rate, here we simplify the value of this process, al

57、lows any setting rate. below is the bean code list: package tax; public class taxrate string product; double rate; public taxrate() this.product = "a001" this.rate = 5; public void setproduct (string productname) this.product = productname; public string getproduct() return (this.product);

58、 public void setrate (double ratevalue) this.rate = ratevalue; public double getrate () return (this.rate); in applying the above jsp page bean will use < > markup. usebean jsp: depend on specific use jsp engine is different, where configuration, and how to configure bean approach can be slightly different. t

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論