【正文】
使用 ROME類庫(kù)中的 FeedFotcher類可根據(jù) URL鏈接抓取到 RSS Feed的內(nèi)容。 ResultSet rs=()。從數(shù)據(jù) 庫(kù)中提取相關(guān)信息,在邏輯層中生成相關(guān)的 XML 文件,并在表現(xiàn)層中生成 RSS 24 文件。 RSS 技術(shù)和在其基礎(chǔ)上開(kāi)發(fā)的產(chǎn)品以及行業(yè)應(yīng)用,使信息“插上了智慧的翅 膀”,在最短時(shí)間內(nèi)飛到最需要它們的用戶身邊。 一個(gè)典 型的 文件如下所示: ?xml version=? rss version= channel titleThe channel39。 “推”技術(shù), RSS 技術(shù)能按照一定的頻率主動(dòng)把相關(guān)信息推 送到信息接收者的瀏覽器里,并通過(guò)一定方式表明信息的發(fā)布時(shí)間,大大提高了網(wǎng)絡(luò)信息利用的時(shí)效性,這也是網(wǎng)絡(luò)信息利用效率提高的一個(gè)重要方面。 在下一章,我將介紹本課題的核心技術(shù): RSS,分析它的歷史,技術(shù)優(yōu)勢(shì),文 件結(jié)構(gòu),以及應(yīng)用模式。在系統(tǒng)概要設(shè)計(jì)中,主要討論了系統(tǒng)的邏輯架構(gòu),并根據(jù)架構(gòu)進(jìn)行了實(shí)現(xiàn)框架和應(yīng)用服務(wù)器的選型。如今,開(kāi)源軟件越來(lái)越 受 到人們的重視, Linux就是一個(gè)成功的典型。通 常這些所依賴的類也可以打包成 JAR 放到 12 WEBNIF 下的 lib 目錄下,當(dāng)然也可以放到系統(tǒng)的 CLASSPATH 中,但那樣移植和管理起來(lái)不方便。購(gòu)書(shū)網(wǎng)站解決方案設(shè)計(jì)過(guò) 程中,在“核心平臺(tái)”的基礎(chǔ)上,始終貫徹以業(yè)務(wù)需求為主的思想。 業(yè)務(wù)邏輯層在體系架構(gòu)中的位置比較關(guān)鍵,它處于數(shù)據(jù)訪問(wèn)層與表示層中間, 起到了數(shù)據(jù)交換中承上啟下的作用。 它是使用 GNU 寬 通 用公共許可證 發(fā)行的 自由 、 開(kāi)源 的軟件。 3. 用戶管理:設(shè)置用戶狀態(tài)。 技術(shù)的進(jìn)步對(duì)傳統(tǒng)書(shū)店上網(wǎng)解決方案提出更嚴(yán)格的要求和挑戰(zhàn)。一個(gè)不錯(cuò)的解決辦法就是媒體網(wǎng)站可以考慮向讀者同時(shí)提供兩種 RSS FEED,一種是全文的 ,帶廣告 。不管是對(duì)信息的接收者、提供者,還是整個(gè)互聯(lián)網(wǎng)來(lái)說(shuō), RSS 技術(shù)的出現(xiàn)都是網(wǎng)絡(luò)信息技術(shù)的一個(gè)突破 。 關(guān)鍵詞: RSS; PUSH ; ROME V ABSTRACT With the development and diffusion of Information Highway, people have been surrounded by the vast ocean of information. Due to the constant updating and increasing of information, the amount of information grows and expanses exponentially at a high speed, resulting in the “information explosion”. The “Information Trek” and “Information Overload” on the Inter have bee an increasingly serious problem. Information Push Technology (PUSH) is an effective solution to these problems. It achieves the “find people by information, service ondemand” by taking the initiative to push forward information to users. As a representative of the “PUSH” technology, RSS technology has been developing rapidly in the work news, emerce, BLOG, electronic publishing and other fields. The Information Push Technology, which is based on RSS, is an effective supplement to other push technologies, with the features of information editing, sharing and convenient transferring. The research goal of this topic is to realize the design of information subsystem which is based on RSS technology, using RSS technology and Struts framework, and to apply this system on the construction of bookpurchase portals. This paper firstly gives an introduction of the bookpurchase portal which has provided the research topic for this thesis. Next, it introduces the demand analysis and detailed design of the project database of this site. In Chapter 4, it provides a detailed analysis on the core technology, RSS, which is relevant to this topic. The analysis mainly includes the development process, structure, features and application models of RSS, and has designed the application on RSS in the project of bookpurchase portal, including the choice of class libraries, the production process of RSS Feed, system framework design and so on. Lastly, this paper introduces elaborately on the realization of several key issues in this system, including: the use of ROME RSS format to achieve the output, reading RSS Feed documents by browser and so on. There is also a system testing in the end. VI Keywords: RSS; PUSH ; ROME VII 目 錄 第 1 章 緒論 .............................................................................................................. 1 研究背景 .......................................................................................................... 1 項(xiàng)目研究的目的及意義 .................................................................................. 3 研究目的 ................................................................................................ 3 研究意義 ................................................................................................ 3 論文的主要內(nèi)容 .............................................................................................. 3 本章小結(jié) .......................................................................................................... 4 第 2 章 系統(tǒng)功能分析與概要設(shè)計(jì) .................................................................... 5 項(xiàng)目背景 .......................................................................................................... 5 系統(tǒng)功能分析 .................................................................................................. 6 用戶模塊 ................................................................................................ 6 管理員模塊 ............................................................................................ 6 系統(tǒng)模塊 ................................................................................................ 6 系統(tǒng)概要設(shè)計(jì) .................................................................................................. 7 系統(tǒng)總體架構(gòu) ........................................................................................ 7 系統(tǒng)的框架 ............................................................................................ 9 設(shè)計(jì)思想和建站原則 .......................................................................... 10 服務(wù)器選擇 .................................................................................................... 11 應(yīng)用服務(wù)器 .......................................................................................... 11 數(shù)據(jù)服務(wù)器 .......................................................................................... 12 本章小結(jié) ........................................................................................................ 13 第 3 章 數(shù)據(jù)庫(kù)設(shè)計(jì) .............................................................................................. 14 數(shù)據(jù)庫(kù)需求分析 ............................................................................................ 14 數(shù)據(jù)庫(kù)詳細(xì)設(shè)計(jì) ............................................................................................ 14 本章小結(jié) ....................................................................................................