




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、安徽工程大學(xué)機(jī)電學(xué)院本科畢業(yè)設(shè)計(jì)(論文)開題報(bào)告題目: 運(yùn)動(dòng)裝備在線商城的設(shè)計(jì)與實(shí)現(xiàn)課 題 類 型: 設(shè)計(jì)實(shí)驗(yàn)研究 論文 學(xué) 生 姓 名: 王化彪 學(xué) 號(hào): 專 業(yè) 班 級(jí): 計(jì)算機(jī)科學(xué)與技術(shù)2101班教 學(xué) 單 位: 計(jì)算機(jī)信息學(xué)院指 導(dǎo) 教 師: 張義開 題 時(shí) 間: 年 月 日一畢業(yè)設(shè)計(jì)(論文)研究意義、研究現(xiàn)狀和發(fā)展趨勢(shì)(文獻(xiàn)綜述)1.1研究意義 隨著信息技術(shù)的發(fā)展,信息技術(shù)使用傳遞速度突破了時(shí)間和地域性的局限,網(wǎng)絡(luò)化與全球化成為一種不可避免的世界趨勢(shì)。由于網(wǎng)絡(luò)用戶的迅速膨脹,眾多的商家和廠家也紛紛將眼光投向互聯(lián)網(wǎng)。電子商務(wù)是能夠在網(wǎng)上完成供、產(chǎn)、銷全部業(yè)務(wù)流程的虛擬市場(chǎng)。封閉式的銀行
2、電子金融系統(tǒng)已變成開放式的網(wǎng)絡(luò)電子銀行。電子商務(wù)是一個(gè)發(fā)展?jié)摿薮蟮氖袌?chǎng),極具有發(fā)展前景。電子商務(wù)雙向信息溝通,靈活的交易手段和快速的交貨方式的特點(diǎn),將給社會(huì)帶來巨大的經(jīng)濟(jì)效益,促進(jìn)了整個(gè)社會(huì)的生產(chǎn)力的提高。電子商務(wù)的推廣,打破了時(shí)空限制,改變了貿(mào)易形態(tài),有助于降低企業(yè)成本和提高企業(yè)競(jìng)爭(zhēng)力。電子商務(wù)給消費(fèi)者提供了更多的選擇,提供了更好的便利性。在互聯(lián)網(wǎng)上可以進(jìn)行很多的電子商務(wù)活動(dòng),“網(wǎng)上商城”就是一種典型的電子商務(wù)運(yùn)用。 在互聯(lián)網(wǎng)日益流行的今天,網(wǎng)絡(luò)已經(jīng)變得越來越重要,而在網(wǎng)絡(luò)這個(gè)大家庭里,網(wǎng)上購(gòu)物則是一個(gè)熱點(diǎn),網(wǎng)上購(gòu)物商城的出現(xiàn),給消費(fèi)者的消費(fèi)觀念帶來了重要的變化,網(wǎng)上物品的物美價(jià)廉以及在實(shí)
3、體店買不到的物品將成為吸引消費(fèi)者的重大戰(zhàn)略措施。開發(fā)網(wǎng)上電子購(gòu)物商城具有非常大的前景和利潤(rùn)空間。1.2研究現(xiàn)狀 網(wǎng)上購(gòu)物是隨著網(wǎng)絡(luò)技術(shù)的發(fā)展而出現(xiàn)的一種新型銷售渠道。它通過人與電子通信方式的結(jié)合,依靠計(jì)算機(jī)網(wǎng)絡(luò),以通訊技術(shù)為基礎(chǔ),實(shí)現(xiàn)商品銷售的網(wǎng)上交易。網(wǎng)上購(gòu)物同傳統(tǒng)的店面購(gòu)物相比,網(wǎng)上購(gòu)物的經(jīng)營(yíng)方式和銷售渠道是全新的;它24小時(shí)全天候和全方位服務(wù)是店面購(gòu)物所不能比及的。以下是幾項(xiàng)調(diào)查: 1.購(gòu)買物品的對(duì)象:如今的網(wǎng)絡(luò)已入得民心,網(wǎng)上購(gòu)物者大多是學(xué)生和上班族,年齡段在16-35歲之間,其中學(xué)生占主導(dǎo)地位,多已高中生和大學(xué)生,上班族是以低薪族為主,薪水1000到3000左右; 2.購(gòu)買的物品:從
4、調(diào)查來看,網(wǎng)上購(gòu)買物品主要分為兩類:相對(duì)實(shí)體店物美價(jià)廉的和在實(shí)體店買不到的;其中,飾品、服裝鞋帽、箱包皮具、電子數(shù)碼產(chǎn)品受到消費(fèi)者的青睞,另外化妝品、禮品玩具、首飾配物和家具日用品等都有很大的發(fā)展空間。 3.方便性:通過網(wǎng)絡(luò),消費(fèi)者足不出戶就可以購(gòu)買物品,還可以郵寄上門,節(jié)省了消費(fèi)者的時(shí)間,而且消費(fèi)者可以在任何自己方便時(shí)間內(nèi)購(gòu)買物品。1.3發(fā)展趨勢(shì)縱觀全球電子商務(wù)市場(chǎng),各地區(qū)發(fā)展并不平衡,呈現(xiàn)出美國(guó)、歐盟、亞洲“三足鼎立”的局面,美國(guó)是世界最早發(fā)展電子商務(wù)的國(guó)家,同時(shí)也是電子商務(wù)發(fā)展最為成 熟的國(guó)家,一直引領(lǐng)全球電子商務(wù)的發(fā)展,是全球電子商務(wù)的成熟發(fā)達(dá)地區(qū)。歐盟電子商務(wù)的發(fā)展起步較美國(guó)晚,但發(fā)
5、展速度快,成為全球電子商務(wù)較為領(lǐng)先的地 區(qū)。亞洲作為電子商務(wù)發(fā)展的新秀,市場(chǎng)潛力較大,但是近年的發(fā)展速度和所占份額并不理想,是全球電子商務(wù)的持續(xù)發(fā)展地區(qū)。 全球B2B電子商務(wù)交易一直占據(jù)主導(dǎo)地位,2002年至今,呈現(xiàn)持續(xù)高速增長(zhǎng)態(tài)勢(shì),2007年全球B2B交易額達(dá)到8.3萬億美元,預(yù)計(jì)在未來幾年將保持40%以上的增長(zhǎng)率,到2010年B2B交易額將達(dá)到26萬億美元,比2002年增長(zhǎng)30多倍。 總體來看,全球電子商務(wù)發(fā)展呈高速增長(zhǎng)態(tài)勢(shì)。隨著全球電子商務(wù)的發(fā)展,我國(guó)電子商務(wù)的發(fā)展動(dòng)力持續(xù)增強(qiáng)。我國(guó)電子商務(wù)發(fā)展呈現(xiàn)典型的塊狀經(jīng)濟(jì)特征,東南沿海屬于較為發(fā)達(dá)地區(qū),北部和中部屬于快速發(fā)展地區(qū),西部則相對(duì)落后。
6、中國(guó)電子商務(wù)市場(chǎng)發(fā)展前景依舊樂觀。文獻(xiàn)1通過對(duì) Java這一近年來迅速崛起的程序設(shè)計(jì)語言所具備特點(diǎn)進(jìn)行的分析、Java對(duì)互聯(lián)網(wǎng)設(shè)計(jì)方面支持的分析以及J2 EE開發(fā)平臺(tái)如何更有力地幫助企業(yè)適應(yīng)網(wǎng)絡(luò)經(jīng)濟(jì)需求的分析 ,說明 Java程序設(shè)計(jì)語言是互聯(lián)網(wǎng)設(shè)計(jì)首選語言 ,Java技術(shù)是網(wǎng)絡(luò)經(jīng)濟(jì)首選開發(fā)和配置平臺(tái) ,并列舉了一個(gè)利用 Java提供功能 ,快速將現(xiàn)有獨(dú)立軟件應(yīng)用系統(tǒng)轉(zhuǎn)變成分布式互聯(lián)網(wǎng)系統(tǒng)的實(shí)例。文獻(xiàn)2采用J2EE體系結(jié)構(gòu),構(gòu)建一個(gè)安全高效的網(wǎng)上商城系統(tǒng),并對(duì)主要模塊設(shè)計(jì)和重要的流程處理作了詳細(xì)介紹。文獻(xiàn)3運(yùn)用網(wǎng)絡(luò)數(shù)據(jù)庫原理,基于B/S模式設(shè)計(jì)開發(fā)了一個(gè)網(wǎng)上購(gòu)物系統(tǒng).在系統(tǒng)中,顧客可以很方便的
7、注冊(cè)成為會(huì)員,對(duì)商品進(jìn)行瀏覽,查看商品的詳細(xì)資料,然后根據(jù)各人的喜好購(gòu)買商品。文獻(xiàn)4采用J2EE+Web Services技術(shù),通過對(duì)一個(gè)網(wǎng)上商城的分析,建模,編程,模擬實(shí)現(xiàn)了各種電子商務(wù)功能,對(duì)中小型用戶,性能十分優(yōu)越;對(duì)一些大型網(wǎng)站,采用合理的數(shù)據(jù)庫,也能充分實(shí)現(xiàn)移植。文獻(xiàn)5從需求出發(fā),利用JSP動(dòng)態(tài)網(wǎng)站設(shè)計(jì)語言設(shè)計(jì)了基于JSP的B/S模式網(wǎng)上商城購(gòu)物管理系統(tǒng).在設(shè)計(jì)中,將系統(tǒng)劃分為了前臺(tái)和后臺(tái)兩大模塊后,又將模塊再進(jìn)行細(xì)化實(shí)現(xiàn)完成.這將對(duì)電子商務(wù)網(wǎng)站建設(shè)提供一個(gè)非常實(shí)用的開發(fā)模式。文獻(xiàn)6比較了電子商務(wù)網(wǎng)站的各種編程技術(shù),指出了JSP的特點(diǎn)。指出了XML技術(shù)在內(nèi)容定義和數(shù)據(jù)定義方面的優(yōu)越性
8、。論述了JSP和XML相結(jié)合的主要方法和現(xiàn)有的技術(shù),指出了數(shù)據(jù)庫技術(shù)對(duì)XML的支持以及XML和數(shù)據(jù)庫技術(shù)的交互方法。文獻(xiàn)7為了提高企業(yè)市場(chǎng)競(jìng)爭(zhēng)力,越來越多的企業(yè)正在通過電子商務(wù)進(jìn)行網(wǎng)上商品交易,構(gòu)建適合企業(yè)發(fā)展的商務(wù)網(wǎng)站己經(jīng)成為目前企業(yè)比較關(guān)心的問題。本文從構(gòu)建一個(gè)在線購(gòu)書子系統(tǒng)入手,討論如何建立電子商務(wù)網(wǎng)站。文獻(xiàn)8運(yùn)用大量實(shí)例來講解網(wǎng)絡(luò)編程語言JSP及其實(shí)際使用。重點(diǎn)介紹Java的基本語法、Web應(yīng)用程序的概念與設(shè)計(jì)方法、JSP操作Oracle數(shù)據(jù)庫、 Java Bean的設(shè)計(jì)與使用等。文獻(xiàn)9詳細(xì)介紹了在開發(fā)BS結(jié)構(gòu)的系統(tǒng)時(shí),使用Java Servlet技巧解決常見問題的編程方法,并從協(xié)議細(xì)
9、節(jié)的角度進(jìn)行詳細(xì)的講述。文獻(xiàn)10數(shù)據(jù)庫是一個(gè)結(jié)構(gòu)化的記錄或數(shù)據(jù),存儲(chǔ)在計(jì)算機(jī)中可供程序來回答查詢集合。通過記錄檢索查詢成為可利用的信息,并作出決定。文章使用簡(jiǎn)單的示例描述了數(shù)據(jù)庫是如何產(chǎn)生的。二.畢業(yè)設(shè)計(jì)(論文)研究方案及工作計(jì)劃2.1畢業(yè)設(shè)計(jì)(論文)研究方案2.1.1系統(tǒng)可行性分析階段該課題主要按以下步驟來完成:1. 查詢相關(guān)資料,了解本系統(tǒng)的研究意義。可以上網(wǎng)搜索或者是去圖書館查閱相關(guān)資料。2. 通過查詢資料了解該網(wǎng)站要如何做,及要做哪些東西。3. 設(shè)計(jì)出大體上的功能模塊,畫出模塊圖。4. 通過進(jìn)一步的了解,對(duì)每個(gè)功能模塊進(jìn)行細(xì)化,將每一步都想清楚。制定出每一步的做法和注意的地方。5. 對(duì)
10、設(shè)計(jì)好的程序進(jìn)行調(diào)試,通過調(diào)試發(fā)現(xiàn)存在的問題并解決,從而達(dá)到完善系統(tǒng)的目的。6. 最后,整理各階段的設(shè)計(jì)記錄文檔,寫成論文稿。2.1.2.系統(tǒng)設(shè)計(jì)階段 運(yùn)動(dòng)裝備在線商城是為消費(fèi)者和賣家之間交易的一個(gè)平臺(tái),宗旨是能及時(shí)、準(zhǔn)確、完整發(fā)布顧客也就是消費(fèi)者需要的各種商品信息。1. 普通用戶可以通過系統(tǒng)瀏覽商品(按類別)2. 普通用戶可以通過系統(tǒng)搜索商品(按類別、價(jià)位、日期等)3. 普通用戶可以通過系統(tǒng)下訂單(享受市場(chǎng)價(jià))4. 普通用戶可以注冊(cè)成為系統(tǒng)會(huì)員(免費(fèi)注冊(cè))5. 會(huì)員可以瀏覽和檢索商品6. 會(huì)員可以下訂單(享受會(huì)員價(jià))7. 會(huì)員可以瀏覽自己下過的訂單8. 會(huì)員可以管理自己的信息(自服務(wù)系統(tǒng))a
11、) 修改密碼b) 修改送貨地址c) 修改聯(lián)系方式9. 會(huì)員可以分級(jí)別a) 不同級(jí)別享受不同等級(jí)的優(yōu)惠b) 通過購(gòu)物的金額確定級(jí)別10. 管理員通過后臺(tái)進(jìn)行會(huì)員管理a) 會(huì)員瀏覽b) 會(huì)員歷史訂單瀏覽c) 會(huì)員刪除d) 指定會(huì)員級(jí)別11. 管理員通過后臺(tái)進(jìn)行商品分類的管理a) 瀏覽、添加、刪除、修改12. 管理員通過后臺(tái)進(jìn)行產(chǎn)品管理a) 新增產(chǎn)品b) 產(chǎn)品上柜c) 產(chǎn)品下柜d) 產(chǎn)品銷量瀏覽e) 產(chǎn)品搜索f) 產(chǎn)品刪除g) 產(chǎn)品修改13. 管理員通過后臺(tái)進(jìn)行訂單的管理a) 訂單查詢b) 修改訂單狀態(tài)c) 訂單搜索d) 訂單跟蹤e) 訂單提醒2.1.3功能模塊圖2.1.4系統(tǒng)運(yùn)行與調(diào)試階段 根據(jù)相
12、關(guān)功能模塊,編寫相應(yīng)代碼,運(yùn)行整個(gè)系統(tǒng),對(duì)相關(guān)功能進(jìn)行調(diào)試和測(cè)試,最后得到一個(gè)完整的運(yùn)動(dòng)裝備在線商城系統(tǒng)。2.2設(shè)計(jì)(論文)工作計(jì)劃起止日期周次內(nèi) 容 進(jìn) 程2.24-3.14第一周-第三周借閱相關(guān)資料,閱讀相關(guān)資料,進(jìn)行前期準(zhǔn)備3.17-3.28第四周-第五周對(duì)項(xiàng)目進(jìn)行需求分析,設(shè)計(jì)功能3.31-4.18第六周-第八周對(duì)項(xiàng)目進(jìn)行詳細(xì)設(shè)計(jì)以及數(shù)據(jù)庫設(shè)計(jì)4.21-5.2第九周-第十周到公司實(shí)習(xí),撰寫實(shí)習(xí)報(bào)告5.5-5.23第十一周-第十三周編寫代碼以及相關(guān)測(cè)試工作,完成系統(tǒng)5.26-6.13第十四周-第十六周撰寫畢業(yè)設(shè)計(jì)文檔6.16-第十七周畢業(yè)設(shè)計(jì)答辯三參考文獻(xiàn)1 何小翔,蔣葉青,蔣守仁.Ja
13、va編程語言及互聯(lián)網(wǎng)設(shè)計(jì)J.合肥工業(yè)大學(xué)學(xué)報(bào)(自然科學(xué)版). 2002(01)2 蔣小鶯.基于J2EE的網(wǎng)上商城系統(tǒng)的設(shè)計(jì)J.電腦知識(shí)與技術(shù). 2008(16)3 倪雪梅.網(wǎng)上購(gòu)物系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)J.赤峰學(xué)院學(xué)報(bào)(自然科學(xué)版). 2011(04)4 劉頎桓.基于J2EE三層體系結(jié)構(gòu)的網(wǎng)上商城的設(shè)計(jì)與實(shí)現(xiàn)J.中國(guó)水運(yùn)(學(xué)術(shù)版). 2006(12)5 續(xù)蕾.基于JSP的B/S模式網(wǎng)上商城購(gòu)物系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)J. 四川兵工學(xué)報(bào). 2009(10)6 何典.基于JSP與XML的電子商務(wù)站點(diǎn)J.商場(chǎng)現(xiàn)代化. 2007(04) 7 余紹霖.基于JSP技術(shù)的電子商務(wù)網(wǎng)站設(shè)計(jì)與開發(fā)J. 科技資訊. 2007(
14、07)8 周顥.網(wǎng)絡(luò)編程語言JSP實(shí)例教程M.北京電子工業(yè)出版社,2003,6.9 陳海山.深入Java Servlet網(wǎng)絡(luò)編程M.北京:清華大學(xué)出版社,2002,2.10 James Berrington. Databases.J. 2013附錄1.1外文文獻(xiàn)THE TECHNIQUE DEVELOPMENT HISTORY OF JSPThe Java Server Pages( JSP) is a kind of according to web of the script plait distance technique, similar carries the script lang
15、uage of Java in the server of the Netscape company of server- side JavaScript( SSJS) and the Active Server Pages(ASP) of the Microsoft. JSP compares the SSJS and ASP to have better can expand sex, and it is no more exclusive than any factory or some one particular server of Web. Though the norm of J
16、SP is to be draw up by Sun company of, any factory can carry out the JSP on own system. The After Sun release the JSP (the Java Server Pages) formally, the this kind of new Web application development technique very quickly caused the peoples concern. JSP provided a special development environment f
17、or the Web application that establishes the high dynamic state. According to the Sun parlance, the JSP can adapt to include the Apache WebServer, IIS4.0 on the market at inside of 85% server product.This chapter will introduce the related knowledge of JSP and Databases, and JavaBean related contents
18、, is all certainly rougher introduction among them basic contents, say perhaps to is a Guide only, if the reader needs the more detailed information, pleasing the book of consult the homologous JSP.1.1 GENERALIZEThe JSP (Java Server Pages) is from the company of Sun Microsystems initiate, the many c
19、ompanies the participate to the build up the together of the a kind the of dynamic the state web the page technique standard, the it have the it in the construction the of the dynamic state the web page the strong but the do not the especially of the function. JSP and the technique of ASP of the Mic
20、rosoft are very alike. Both all provide the ability that mixes with a certain procedure code and is explain by the language engine to carry out the procedure code in the code of HTML. Underneath we are simple of carry on the introduction to it.JSP pages are translated into servlets. So, fundamentall
21、y, any task JSP pages can perform could also be accomplished by servlets. However, this underlying equivalence does not mean that servlets and JSP pages are equally appropriate in all scenarios. The issue is not the power of the technology, it is the convenience, productivity, and maintainability of
22、 one or the other. After all, anything you can do on a particular computer platform in the Java programming language you could also do in assembly language. But it still matters which you choose.JSP provides the following benefits over servlets alone: It is easier to write and maintain the HTML. You
23、r static code is ordinary HTML: no extra backslashes, no double quotes, and no lurking Java syntax. You can use standard Web-site development tools. Even HTML tools that know nothing about JSP can be used because they simply ignore the JSP tags. You can divide up your development team. The Java prog
24、rammers can work on the dynamic code. The Web developers can concentrate on the presentation layer. On large projects, this division is very important. Depending on the size of your team and the complexity of your project, you can enforce a weaker or stronger separation between the static HTML and t
25、he dynamic content.Now, this discussion is not to say that you should stop using servlets and use only JSP instead. By no means. Almost all projects will use both. For some requests in your project, you will use servlets. For others, you will use JSP. For still others, you will combine them with the
26、 MVC architecture. You want the appropriate tool for the job, and servlets, by themselves, do not complete your toolkit.1.2 SOURCE OF JSPThe technique of JSP of the company of Sun, making the page of Web develop the personnel can use the HTML perhaps marking of XML to design to turn the end page wit
27、h format. Use the perhaps small script future life of marking of JSP becomes the dynamic state on the page contents. (the contents changes according to the claim of)The Java Servlet is a technical foundation of JSP, and the large Web applies the development of the procedure to need the Java Servlet
28、to match with the JSP and then can complete, this name of Servlet comes from the Applet, the local translation method of now is a lot of, this book in order not to misconstruction, decide the direct adoption Servlet but dont do any translation, if reader would like to, can call it as small service p
29、rocedure. The Servlet is similar to traditional CGI, ISAPI, NSAPI etc. Web procedure development the function of the tool in fact, at use the Java Servlet hereafter, the customer need not use again the lowly method of CGI of efficiency, also need not use only the ability come to born page of Web of
30、dynamic state in the method of API that a certain fixed Web server terrace circulate. Many servers of Web all support the Servlet, even not support the Servlet server of Web directly and can also pass the additional applied server and the mold pieces to support the Servlet. Receive benefit in the ch
31、aracteristic of the Java cross-platform, the Servlet is also a terrace irrelevant, actually, as long as match the norm of Java Servlet, the Servlet is complete to have nothing to do with terrace and is to have nothing to do with server of Web. Because the Java Servlet is internal to provide the serv
32、ice by the line distance, need not start a progress to the each claims, and make use of the multi-threading mechanism can at the same time for several claim service, therefore the efficiency of Java Servlet is very high.But the Java Servlet also is not to has no weakness, similar to traditional CGI,
33、 ISAPI, the NSAPI method, the Java Servlet is to make use of output the HTML language sentence to carry out the dynamic state web page of, if develop the whole website with the Java Servlet, the integration process of the dynamic state part and the static state page is an evil-foreboding dream simpl
34、y. For solving this kind of weakness of the Java Servlet, the SUN released the JSP.A number of years ago, Marty was invited to attend a small 20-person industry roundtable discussion on software technology. Sitting in the seat next to Marty was James Gosling, inventor of the Java programming languag
35、e. Sitting several seats away was a high-level manager from a very large software company in Redmond, Washington. During the discussion, the moderator brought up the subject of Jini, which at that time was a new Java technology. The moderator asked the manager what he thought of it, and the manager
36、responded that it was too early to tell, but that it seemed to be an excellent idea. He went on to say that they would keep an eye on it, and if it seemed to be catching on, they would follow his companys usual embrace and extend strategy. At this point, Gosling lightheartedly interjected You mean d
37、isgrace and distend. Now, the grievance that Gosling was airing was that he felt that this company would take technology from other companies and suborn it for their own purposes. But guess what? The shoe is on the other foot here .The Java community did not invent the idea of designing pages as a m
38、ixture of static HTML and dynamic code marked with special tags. For example, Cold Fusion did it years earlier. Even ASP (a product from the very software company of the aforementioned manager) popularized this approach before JSP came along and decided to jump on the bandwagon. In fact, JSP not onl
39、y adopted the general idea, it even used many of the same special tags as ASP did.The JSP is an establishment at the model of Java servlets on of the expression layer technique, it makes plait write the HTML to become more simple. Be like the SSJS, it also allows you carry the static state HTML cont
40、ents and servers the script mix to put together the born dynamic state exportation. JSP the script language that the Java is the tacit approval, however, be like the ASP and can use other languages( such as JavaScript and VBScript), the norm of JSP also allows to use other languages.1.2中文翻譯JSP的技術(shù)發(fā)展歷
41、史Java Server Pages(JSP)是一種基于web的腳本編程技術(shù),類似于網(wǎng)景公司的服務(wù)器端Java腳本語言 server-side JavaScript(SSJS)和微軟的Active Server Pages(ASP)。與SSJS和ASP相比,JSP具有更好的可擴(kuò)展性,并且它不專屬于任何一家廠商或某一特定的Web服務(wù)器。盡管JSP規(guī)范是由Sun公司制定的,但任何廠商都可以在自己的系統(tǒng)上實(shí)現(xiàn)JSP。 在Sun正式發(fā)布JSP(Java Server Pages)之后,這種新的Web應(yīng)用開發(fā)技術(shù)很快引起了人們的關(guān)注。JSP為創(chuàng)建高度動(dòng)態(tài)的Web應(yīng)用提供了一個(gè)獨(dú)特的開發(fā)環(huán)境。按照Sun的
42、說法,JSP能夠適應(yīng)市場(chǎng)上包括Apache WebServer、IIS4.0在內(nèi)的85%的服務(wù)器產(chǎn)品。本文將介紹JSP相關(guān)的知識(shí),以及JavaBean的相關(guān)內(nèi)容,當(dāng)然都是比較粗略的介紹其中的基本內(nèi)容,僅僅起到拋磚引玉的作用,如果讀者需要更詳細(xì)的信息,請(qǐng)參考相應(yīng)的JSP的書籍。1.1 概述JSP(Java Server Pages)是由Sun Microsystems公司倡導(dǎo)、許多公司參與一起建立的一種動(dòng)態(tài)網(wǎng)頁技術(shù)標(biāo)準(zhǔn),其在動(dòng)態(tài)網(wǎng)頁的建設(shè)中有其強(qiáng)大而特別的功能。JSP與Microsoft的ASP技術(shù)非常相似。兩者都提供在HTML代碼中混合某種程序代碼、由語言引擎解釋執(zhí)行程序代碼的能力。下面我們簡(jiǎn)
43、單的對(duì)它進(jìn)行介紹。JSP頁面最終會(huì)轉(zhuǎn)換成servlet。因而,從根本上,JSP頁面能夠執(zhí)行的任何任務(wù)都可以用servlet來完成。然而,這種底層的等同性并不意味著servlet和JSP頁面對(duì)于所有的情況都等同適用。問題不在于技術(shù)的能力,而是二者在便利性、生產(chǎn)率和可維護(hù)性上的不同。畢竟,在特定平臺(tái)上能夠用Java編程語言完成的事情,同樣可以用匯編語言來完成,但是選擇哪種語言依舊十分重要。和單獨(dú)使用servlet相比,JSP提供下述好處:JSP中HTML的編寫與維護(hù)更為簡(jiǎn)單。JSP中可以使用常規(guī)的HTML:沒有額外的反斜杠,沒有額外的雙引號(hào),也沒有暗含的Java語法。能夠使用標(biāo)準(zhǔn)的網(wǎng)站開發(fā)工具。即
44、使是那些對(duì)JSP一無所知的HTML工具,我們也可以使用,因?yàn)樗鼈儠?huì)忽略JSP標(biāo)簽(JSP tags)??梢詫?duì)開發(fā)團(tuán)隊(duì)進(jìn)行劃分。Java程序員可以致力于動(dòng)態(tài)代碼。Web開發(fā)人員可以將經(jīng)理集中在表示層(presentation layer)上。對(duì)于大型的項(xiàng)目,這種劃分極為重要。依據(jù)開發(fā)團(tuán)隊(duì)的大小,及項(xiàng)目的復(fù)雜程度,可以對(duì)靜態(tài)HTML和動(dòng)態(tài)內(nèi)容進(jìn)行弱分離(weaker separation)和強(qiáng)分離(stronger separation)。此處的討論并不是說人們應(yīng)該放棄使用servlet而僅僅使用JSP。事實(shí)上,幾乎所有的項(xiàng)目都會(huì)同時(shí)用到這兩種技術(shù)。在某些項(xiàng)目中,更適宜選用servlet,而針對(duì)項(xiàng)目中的某些請(qǐng)求,我們可能會(huì)在MVC構(gòu)架下組合使用這兩項(xiàng)技術(shù)。我們總是希望用適當(dāng)?shù)墓ぞ咄瓿上?/p>
溫馨提示
- 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. 人人文庫網(wǎng)僅提供信息存儲(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 公司烤肉策劃方案
- 公司組織烤肉派對(duì)活動(dòng)方案
- 公司組織暖心小活動(dòng)方案
- 公司春游一日游策劃方案
- 公司游園會(huì)年會(huì)策劃方案
- 公司暖冬捐衣活動(dòng)方案
- 公司職場(chǎng)媽媽活動(dòng)方案
- 公司甜品活動(dòng)方案
- 公司春節(jié)抽獎(jiǎng)活動(dòng)方案
- 公司線下沙龍策劃方案
- 日間化療服務(wù)管理制度
- 暑假散學(xué)典禮課件小學(xué)生
- 2024年涼山州木里縣選聘社區(qū)工作者真題
- 保險(xiǎn)公司攢錢活動(dòng)方案
- 3.5中華人民共和國(guó)突發(fā)事件應(yīng)對(duì)法
- 2024智聯(lián)招聘人社局解決就業(yè)大型招聘會(huì)活動(dòng)方案
- 養(yǎng)牛的可行性研究報(bào)告范文
- 2025年新高考1卷(新課標(biāo)Ⅰ卷)英語試卷
- 部編版七年級(jí)語文下冊(cè)第4單元試題及答案
- GB 18613-2020電動(dòng)機(jī)能效限定值及能效等級(jí)
- 第講-公路工程基本建設(shè)項(xiàng)目概算預(yù)算編制辦法
評(píng)論
0/150
提交評(píng)論