【正文】
接的第一步驟就是將 JDBC東北大學 東軟信息學院畢業(yè)設計(論文) 第 2 章 關鍵技術介紹 5 驅動程序 的類載入至 JVM( Java VirtualL Machine)中,本系統(tǒng)中利用 類內的 forName()靜態(tài)函數(shù)依據(jù)指定的類名稱,將 JDBC 驅動程序載入進來。三、從數(shù)據(jù)庫取得 SQL 語句的執(zhí)行結果。 JDBC 技術提供了三項服務功能:一、與數(shù)據(jù)庫建立連接。通過這些類和接口,程序開發(fā)人員可以在 Java 語言中方便地建立與數(shù)據(jù)庫的鏈接,通過執(zhí)行相應 SQL 語句,完成對不同數(shù)據(jù)庫的訪問。 JDBC 技術 ( 1)簡介 JDBC 技術是 Java DataBase Connectivity 的縮寫,它是 SUN 公司提供的一種支持基本 SQL 功能的通用的應用程序接口 (Application Programming Interface),是 JAVA 應用程序與數(shù)據(jù)庫的溝通橋梁。 ⑥ 對 Web 技術的支持,使用戶能夠很 容易地將數(shù)據(jù)庫中的數(shù)據(jù)發(fā)布到 Web 頁面上。 SQL Server 也可以很好地與 Microsoft BackOffice 產品集成。 ③ 豐富的編程接口工具,為用戶進行程序設計提供了更大的選擇余地。 ( 2) SQL Server 特點: ① 真正的客戶機 /服 務器體系結構。SQL Server 數(shù)據(jù)庫對服務器的要求較低,功能強大,可靠性高,操作簡便。 ② 模式二 :JSP+Servlet+JavaBeans 技術 Servlet 技術是一種采用 Java 技術來實現(xiàn)CGI 功能的一種技術, Servlet 技術非常適于服務器端的處理和編程,并且 Servlet 會長期駐留在內存。 ① 模式一 :JSP+JavaBeans 技術 在這種模式中, JSP 頁面獨自響應請求并將處理結果返回給客戶。字節(jié)碼文件的主要工作是把 JSP 頁面中的 HTML 標記符號交給客戶的瀏覽器負責顯示,負責處理 JSP 標記,并將有關的處理結果發(fā)送給客戶的瀏覽器,執(zhí)行“ %”和“ %”之間的 Java 程序片,并把執(zhí)行的結果交給客戶的瀏覽器顯示,當多個客戶 請求一個 JSP 頁面時,服務器為每個客戶啟動一個線程,該線程負責執(zhí)行常駐內存的字節(jié)碼文件來響應客戶的請求。 ( 2)工作原理 JSP 是面向服務器的,當服務器上的一個 JSP 頁面被第一次請求執(zhí)行時,服務器上的 JSP 引擎首先將 JSP 頁面文件轉譯成一個 Java 文件,然后將此 Java 文件編譯成字節(jié)碼文件,通過執(zhí)行字節(jié)碼文件相應客戶的請求。 JSP 技術是目前應用最廣泛的動態(tài)網(wǎng)頁技術之一 ,主要用以創(chuàng)建基于 B/S 架構的動態(tài)網(wǎng)站。 JSP 頁面由 HTML 代碼和嵌入其中的 Java 代碼所組成。雖然受金融危機影響使得網(wǎng)絡音樂行業(yè)近兩年發(fā)展速度略有減東北大學 東軟信息學院畢業(yè)設計(論文) 第 1 章 緒論 2 緩,但隨著我國國民經(jīng)濟的快速發(fā)展以及國際金融危機的逐漸消退,我國網(wǎng)絡音樂行業(yè)又重新迎來良好的發(fā)展機遇。隨著科學技術的不斷提高 ,計算機科學技術日漸成熟 ,音樂網(wǎng)站的后臺管理也日趨完善,計算機技術進行的后臺信息管理,具有高可靠性、大存儲量、高保密性、低成本、強共享性等優(yōu)點,這些能夠極大地提高工作的效率,是傳統(tǒng)音樂傳播形式 無可比擬的,也是音樂網(wǎng)站快速發(fā)展的重要基礎。音像店已不再是消費者唯一的選擇 , 提供音樂下載服務的網(wǎng)絡成為眾多消費者的首要選擇。中文音樂網(wǎng)站在過去短短幾年 ,如雨后春筍般遍布互聯(lián)網(wǎng)。 國內外現(xiàn)狀 音樂是人們文化生活中不可或缺的一個重要組成部分。 本課題主要涉及的軟件,數(shù)據(jù)庫與網(wǎng)絡技術等知識,涵蓋面廣,可有效地提高學生綜合運用所學知識分析解決問題的能力, 與實踐相結合,使學生在網(wǎng)頁開發(fā)技術和數(shù)據(jù)庫以 及相關開發(fā)工具和應用軟件的應用上更上一個臺階,更加熟悉網(wǎng)站建設的過程和掌握網(wǎng)絡數(shù)據(jù)庫編程方法。 課題目標是設計并實現(xiàn)一個 B/S 體系結構的樂游音樂網(wǎng)站。 關鍵詞 : 互聯(lián)網(wǎng) , 樂游音樂網(wǎng)站 , JSP 技術東北大學 東軟信息學院畢 業(yè)設計(論文) Abstract Ⅲ Design and Implementation of Yueyou Music Website Based on JSP Technology Abstract Modern studies have shown that music is related to people’s interest, aesthetic standards, speech, behavior, interpersonal relationships. So no one can deny that people need music to cultivate their mind and purifying their emotion. Now with the rise of the work, people’s enjoyment of music is no longer limited by the expensive tapes and CD, but to focus on a more immense, systematic and convenient field of vision, that is music website. With the development of science and technology, websites for resources sharing are playing an essential role in people’s life. There are many advantages of using puters to manage information, such as high reliability, large memory capacity, good security, long using life and low cost. These advantages can greatly improve the efficiency, and it is an important condition for integration with the world. Yueyou Music Website use modern munication technology, puter and work technology to build an efficient sharing platform. The purpose is to make full use of the enormous advantage of work environment and optimize the allocation of social resources, then achieve the maximum utilization of music resources. Yueyou Music Website which is a researching subject focusing on promoting a platform to sharing music for individuals or any groups. With the convenient search, detailed information of songs, highspeed playback, this website will bring more convenience to music appreciators. The topic goal of the subject is to design and implementation Yueyou Music Website based on JSP technology. Then understand basic knowledge of web development technology and database, learn to use the development tools and application software, be familiar with the site building process, and grasp the main idea of work database programming during practice. Key words: Inter, Music Website, JSP Technology 東北大學 東軟信息學院畢業(yè)設計(論文) 目錄 IV 目 錄 畢業(yè)設計(論文)任務書 ........................................................................ I 摘 要 ......................................................................................................... II ABSTRACT .............................................................................................. III 第 1 章 緒 論 ......................................................................................... 1 論文研究主要內容 ................................................................................... 1 國內外現(xiàn)狀 .............................................................................................. 1 第 2 章 關鍵技術介紹 ............................................................................ 3 關鍵性開發(fā)技術的介紹 ........................................................................... 3 JSP 技術 ..................................................................................................................... 3 SQLServer 2021 數(shù)據(jù)庫 ........................................................................................... 4 JDBC 技術 ................................................................................................................. 4 第 3 章 系統(tǒng)分析 .................................................................................... 7 構架概述 .................................................................................................. 7 功能構架 ................................................................................................................... 7 模塊需求描述 ........................................................................................................... 8 系統(tǒng)開發(fā)環(huán)境 .......................................................................................... 8 系統(tǒng)任務的可行性分析 ........................................................................... 9 經(jīng)濟可行性 ...................................................................................................