freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

計(jì)算機(jī)專業(yè)畢業(yè)設(shè)計(jì)外文翻譯--jdbc接口技術(shù)(文件)

2025-06-10 17:37 上一頁面

下一頁面
 

【正文】 準(zhǔn)應(yīng)用程序數(shù)據(jù)接口。它由一些 Java 語言編寫的類和界面組成。 JDBC 為數(shù)據(jù)庫應(yīng)用開發(fā)人員、數(shù)據(jù)庫前臺(tái)工具開發(fā)人員提供了一種標(biāo)準(zhǔn)的應(yīng)用程序設(shè)計(jì)接口,使開發(fā)人員可以用純 Java 語言編寫完整的數(shù)據(jù)庫應(yīng)用程序。通 過ODBCAPI,應(yīng)用程序可以存取保存在多種不同數(shù)據(jù)庫管理系統(tǒng)( DBMS)中的數(shù)據(jù),而不論每個(gè) DBMS 使用了何種數(shù)據(jù)存儲(chǔ)格式和編程接口。 數(shù)據(jù)庫驅(qū)動(dòng)器:實(shí)現(xiàn) ODBC 的函數(shù)調(diào)用,提供對特定數(shù)據(jù)源的 SQL 請求。因此當(dāng)應(yīng)用系統(tǒng)發(fā)出調(diào)用與數(shù)據(jù)源進(jìn)行連接時(shí),數(shù)據(jù)庫驅(qū)動(dòng)器能管理通信協(xié)議。由于沒有一個(gè) Java 語言的 API,編程人員不得不在 Java 程序中加入 C 語言的 ODBC 函數(shù)調(diào)用。在 JDK1. x版本中, JDBC 只是一個(gè)可選部件,到了 JDK1. 1 公布時(shí), SQL 類包(也就是 JDBCAPI)山西大學(xué)本科畢業(yè)論文(設(shè)計(jì))外文翻譯資料 就成為 Java 語言的標(biāo)準(zhǔn)部件。 通過使用 JDBC,開發(fā)人員可以很方便地將 SQL 語句傳送給幾乎任何一種數(shù)據(jù)庫。 Java 和 JDBC 的結(jié)合可以讓開發(fā)人員在開發(fā)數(shù)據(jù)庫應(yīng)用時(shí) 真正實(shí)現(xiàn)“ WriteOnce, RunEverywhere!” Java 具有健壯、安全、易用等特性,而且支持自動(dòng)網(wǎng)上下載,本質(zhì)上是一種很好的數(shù)據(jù)庫應(yīng)用的編程語言。隨著越來越多的程序開發(fā)人員使用 Java 語言,對 Java 訪問數(shù)據(jù)庫易操作性的需求越來越強(qiáng)烈。對于信息服務(wù)行業(yè), Java 和 JDBC 提供了一種很好的向外界用戶更新信息的方法。同時(shí)它也是構(gòu)造高層 API 和數(shù)據(jù)庫開發(fā)工具的基礎(chǔ)。 1) SQL 語言嵌入 Java 的預(yù)處理器。 2)實(shí)現(xiàn)從關(guān)系數(shù)據(jù)庫到 Java 類的直接映射。還可以實(shí)現(xiàn)更加復(fù)雜的映射,比如多張表的行在一個(gè) Java 的類中實(shí)現(xiàn)。 3. JDBC 和 ODBC 及其他 API 的比較 到目前為止,微軟的 ODBC 可能是用得最廣 泛的訪問關(guān)系數(shù)據(jù)庫的 API。 ODBC 是一個(gè) C 語言實(shí)現(xiàn)的 API,從 Java 程序調(diào)用本地的 C 程序會(huì)帶來一系列類似安全性、完整性、健壯性的缺點(diǎn)。 3) ODBC 并不容易學(xué)習(xí),它將簡單特性和復(fù)雜特性混雜在一起,甚至對非常簡單的查詢都有復(fù)雜的選項(xiàng)。如 果 JDBC 驅(qū)動(dòng)器是完全用 Java 語言實(shí)現(xiàn)的話,那么 JDBC 的代碼就可以自動(dòng)的下載和安裝,并保證其安全性,而且,這將適應(yīng)任何Java 平臺(tái),從網(wǎng)絡(luò)計(jì)算機(jī) NC 到大型主機(jī) Mainframe。實(shí)際上,這兩種接口都是基于 X/ OPENSQL 的調(diào)用級(jí)接口( CLI)。然而,這些接口目前并不能代替 ODBC,尤其在 ODBC 驅(qū)動(dòng)器已經(jīng)在市場完全形成的時(shí)候,更重要的是它們只是 ODBC 的“漂亮的包裝”。用戶的 SQL 語句被傳送給數(shù)據(jù)庫,而這些語句執(zhí)行的結(jié)果將被傳回給用戶。 如圖所示,在三層模型中,命令將被發(fā)送到服務(wù)的“中間層”,而“中間層”將 SQL語句發(fā)送到數(shù)據(jù)庫。 到目前為止,“中間層”通常還是用 C 或 C++實(shí)現(xiàn),以保證其高性能。s SQLServer. Writing with JDBC procedures can automatically SQL Statement sent to the appropriate database management system (DBMS). Not only that, the use of Java applications can be prepared at any support running on Java platform, not Must in the preparation of different platforms on different applications. The bination of Java and JDBC allows developers to develop database applications really achieve WriteOnce, RunEverywhere! Java has a robust, secure, easytouse and other characteristics, but also support the automatic downloading, in essence, is a good database application programming language. It needs Java application is how to work with various database connection, JDBC is the key to achieve this connection. JDBC expanded the ability of Java, such as the use of Java and JDBCAPI can 山西大學(xué)本科畢業(yè)論文(設(shè)計(jì))外文翻譯資料 publish a Web page, page with access to remote databases Ap plet. Either Enterprises through JDBC to allow all the workers (who can use different operating systems, such as Windwos, Machintosh and UNIX) at In tra up to connect to the On a number of global databases, which can be several global databases are not identical. As more and more developers use Java language, Java access to data Treasury ease the demand for more and more strongly. MIS managers like Java and JDBC, as it can more easily publish information economically. Variety has been installed in the database of affairs will continue to deal with Normal operation, and even deal with these matters are stored in different database management systems。 and depositors Check required by the SQL call to be a direct consequence of inhouse. Can also achieve more plex mapping, such as tables of many firms of a Java implementation of the class. With the . on the continuing strong interest in JDBC, a growing number of developers 山西大學(xué)本科畢業(yè)論文(設(shè)計(jì))外文翻譯資料 have begun to use JDBCbased tools for development. This development work has bee Easy. At the same time, programmers are also being developed for endusers easier access to the database applications. 3. JDBC and ODBC, and other API Comparison So far, Microsoft39。s puter as a Client, run the database of Computer as Server. But this work intra, such as connecting all employees intra, of course, can also be inter. Shown in Figure 4, in the threetier model, the order will be sent to Service the middle laye
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1