2023年全國碩士研究生考試考研英語一試題真題(含答案詳解+作文范文)_第1頁
已閱讀1頁,還剩2頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、 The Design and Implementation of the Online Shopping System for Digital Arts GAO Lan-juan LIU Quan JIANG Xue-mei School of Information Engineering, Wuhan University of Technology, Wuhan Hubei, China Abstract—In o

2、rder to go shopping online more convenient, the design and implementation of the online shopping system based on JSP is presented in this paper. It mainly introduced the online shopping program, online payment, the or

3、der generating, and completed a series of functions about online shopping for Digital works. Keywords:Web; Trade Online; JSP; Digital Arts I. INTRODUCTION Shopping online gradually becomes a kind of fashion with

4、the prevalence of Internet and e-commerce. At the same time, as the development and the increasing integration of network and information technology, many traditional media contents t end to digital methods and it can

5、 be predicted that the digital mass media will be an alternative, which can be extensively used in e-commerce, such as online images, MP3's online sales, vigorous development of digital cinema, e-book sales and s

6、o on[1]. In order to carry out online transactions of digital works, especially works as images, text, audio and video, we build an online shopping system in the application of JSP technology and MySQL database, which

7、, achieved a series of functions of digital arts transaction, can help people in need search online, browse and purchase multi-media works. II. SYSTEM DESIGN A. Software configuration of Online Trading System The sy

8、stem, as a typical Java Web Applications, has a three-layer software architecture. It is described a three-tier Web architecture development model using “JSP and JavaBean” technology, as shown in Fig. 1: The client la

9、yer provides a browser-based user interface, on which Customers can browse the static or dynamic HTML pages which are passed over from the Web server, and users can also interact with Web Server through dynamic HTML p

10、ages. The web server provides an environment special for JSP and JavaBean and other components to run and visit. JSP is responsible for generating HTML pages dynamically, and at the mean time JavaBean is responsible fo

11、r visiting the database and transaction. The database layer stores and maintains permanent business information in Web applications [2]. B. Workflow of Online Transaction The flow chart of online transactions is shown

12、 in Fig. 2: Customers can choose from favorites to purchase the digital works (including text, images, audio, video, etc.), so for their convenience, a back-end database on the server layer should be established to sav

13、e the products information of the purchase. In order to solve this problem we use the JSP technology to send the information to the client's HTML pages. As soon as the purchase order is generated it will be proce

14、ssed to the actual bank through the online banking interface. And then after the order is written into the transaction database, it will provide users the permit of download it, and finally the trade is a success one.

15、 C. The Analysis of System Function Modules This system mainly includes the following features, which include the basic services that have been provided online in advance in the purpose that consumers can browse and pu

16、rchase at any time to achieve an efficient online marketing approach. The online trading system function modules, as seen, can be divided into two categories: the front-end modules and the back-end modules. On the one

17、 hand, the front-end modules include the search of works and query module, shopping cart module, front-end order processing module, and shopping management module. Fig. 1 Software Configuration of Online Trading System

18、Fig. 2 The flow chart of online transactions 2010 Ninth International Symposium on Distributed Computing and Applications to Business, Engineering and Science978-0-7695-4110-5/10 $26.00 © 2010 IEEE DOI 10.1109/DCABE

19、S.2010.90 414other works. Consumers can always click to view their shopping cart items to confirm or delete their own works they do not want to purchase. When the confirmed message comes in the shopping cart, the orde

20、r will be stored in the transaction database. After the consumer clicks on the page to confirm the trade, the page provides users the function to download the works that they have purchased. At this point, transaction

21、 information is in storage. The transaction is completed successfully. The following is part ofCreateOrderAction.java file of JavaBean components which is responsible of dealing with the request of generating orders,

22、and the main codes are as follows: package cn.com.shoppingonline; …… public final class CreateOrderAction extends Action { public ActionForward execute (……) throws Exception{ DynaActionForm orderForm = (DynaActionFor

23、m) form; …… Membermember = (Member) session.getAttribute (Constants.LOGIN_USER_KEY); / * determine whether the user login* / if (member == null) { errors.add(ActionMessages.GLOBAL_MESSAGE,new ActionMessage ( “errors.use

24、rUnLogin“)); if (! errors.isEmpty ()) { saveErrors (request, errors); } return mapping.findForward ( “toWrong“); / * determine whether the shopping cart is empty * / else if (shopCartList == null | | shopCartList.

25、size () == 0) { errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage ( “errors.nullShopCart“)); if (! errors.isEmpty ()) { saveErrors (request, errors); } PageForward = “toWrong“; } else{ ∥ complet

26、e database-related operations DbOperate db = new DbOperate (); Order order = new Order (); / * Save the Order * / SimpleDateFormat df = new SimpleDateFormat ( “MMddhhmmss“); String orderno = member.getUsername () + df.f

27、ormat (new Date ()); ∥ order number is generated order.setOrderno(orderno); order.setUserid (member.getId ()); …… / * modify the number of goods sold * / shopCart.getProduct (). setSalecount (shopCart.getProd

28、uct (). getSalecount () + shopCart.getCount ()); db.update (shopCart.getProduct ()); totalPrice = totalPrice + shopCart.getPrice (); } …… return (mapping.findForward (PageForward)); } IV. ACKNOLODGEME

29、NT In this paper, the study has been supported by the following items: Natural Science Foundation of Hubei Province (program No:2008CDA020) and National “863” Project (program No: 2009AA01Z440).Thanks for your support

30、! V. CONCLUSION Buyers and sellers can get together through the online trading space, and in that way we can enjoy more and more convenient business services. On-line trading system provides basic purchase service for

31、 digital works so that consumers can browse and purchase at any time to achieve an efficient online marketing approach. In this paper, on-line purchasing module has basically completed all the required features, and

32、consumers can easily navigate to the various works hits, get a convenient and quick understanding about work-related information and make a purchase. However, we also need to improve in some areas, such as the module&

33、#39;s security features, the lack of corresponding data encryption, and when transaction payments should be involved; you can try to take other payment method such as PayPal and other forms of payment. These function

34、s will be discussed separately in later research. VI. REFERENCE [1] SchwanenTim,Dijst Martin,Faber Jan. Shopping online and/or in-store? A structural equation model of the relationships between e-shopping and i

35、n-store shopping.[J] Transportation Research Part A: Policy and Practice, February 2007 .v 41,n 2, p 125-141. [2] SunWeiQin, The solution on Tomcat and Java Web development of Technology. [M]. Beijing: publishing house

36、 of electronics industry, 2009.1 [3] LuYou,YuYuZong,The course design on database system[M] beijing: Tsinghua university press,2009.5 [4] LiangJin,ChenTing, The design of minitype Web bookshop based on JSP [J] CO

37、MPUTER STUDY,2008(3), pp.36-37. [5] YeDaFeng, Eclipse programming techniques and examples [M]. Beijing: Posts & Telecom Press : 2207-2232 [6] ZhangGuiYuan,JiaYanFeng. Development and project practice on Eclipse[M]b

溫馨提示

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

最新文檔

評(píng)論

0/150

提交評(píng)論