買這商品的人也買了...
-
$1,200$1,176 -
$680$537 -
$880$695 -
$1,274Computer Architecture: A Quantitative Approach, 3/e(精裝本)
-
$680$537 -
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$860$679 -
$560$476 -
$450$351 -
$620$527 -
$780$741 -
$750$638 -
$650$514 -
$580$458 -
$760$600 -
$580$493 -
$590$466 -
$280$221 -
$620$490 -
$860$731 -
$600$540 -
$690$538 -
$420$332 -
$720$562 -
$720$569
商品描述
Java Data Objects revolutionizes the way Java developers interact with
databases and other datastores. JDO allows you to store and retrieve objects in
a way that's natural to Java programmers. Instead of working with JDBC or EJB's
container-managed persistence, you work directly with your Java objects. You
don't have to copy data to and from database tables or issue SELECTs to perform
queries: your JDO implementation takes care of persistence behind-the-scenes,
and you make queries based on the fields of your Java objects, using normal Java
syntax.
The result is software that is truly object-oriented: not code
that is partially object-oriented, with a large database-shaped lump on the back
end. JDO lets you save plain, ordinary Java objects, and does not force you to
use different data models and types for dealing with storage. As a result, your
code becomes easier to maintain, easier to re-use, and easier to test. And
you're not tied to a specific database vendor: your JDO code is entirely
database-independent. You don't even need to know whether the datastore is a
relational database, an object database, or just a set of files.
This
book, written by the JDO Specification Lead and one of the key contributors to
the JDO Specification, is the definitive work on the JDO API. It gives you a
thorough introduction to JDO, starting with a simple application that
demonstrates many of JDO's capabilities. It shows you how to make classes
persistent, how JDO maps persistent classes to the database, how to configure
JDO at runtime, how to perform transactions, and how to make queries. More
advanced chapters cover optional features such as nontransactional access and
optimistic transactions. The book concludes by discussing the use of JDO in web
applications and J2EE environments.
Whether you only want to read up on
an interesting new technology, or are seriously considering an alternative to
JDBC or EJB CMP, you'll find that this book is essential. It provides by far the
most authoritative and complete coverage available.
Table of Contents
Foreword
Preface
1. An Initial Tour
2. An Overview of JDO Interfaces
3. JDO Architectures
4. Defining Persistent Classes
5. Datastore Mappings
6. Class Enhancement
7. Establishing a JDO Runtime Environment
8. Instance Management
9. The JDO Query Language
10. Identity
11. Lifecycle States and Transitions
12. Field Management
13. Cache Management
14. Nontransactional Access
15. Optimistic Transactions
16. The Web-Server Environment
17. J2EE Application Servers
A. Lifecycle States and Transitions
B. JDO Metadata DTD
C. JDO Interfaces and Exception Classes
D. JDO Query Language BNF
E. Source Code for Examples
Index
商品描述(中文翻譯)
Java Data Objects 徹底改變了 Java 開發者與資料庫及其他資料儲存系統的互動方式。JDO 允許您以對 Java 程式設計師來說自然的方式儲存和檢索物件。您不需要使用 JDBC 或 EJB 的容器管理持久性,而是直接與您的 Java 物件進行操作。您不必將資料複製到資料庫表中或發出 SELECT 查詢:您的 JDO 實作在背後處理持久性,您可以根據 Java 物件的欄位使用正常的 Java 語法進行查詢。
結果是,這是一個真正的物件導向軟體:而不是部分物件導向的程式碼,後端卻有一個大型的資料庫形狀的塊。JDO 讓您可以儲存普通的 Java 物件,並且不強迫您使用不同的資料模型和類型來處理儲存。因此,您的程式碼變得更容易維護、更容易重用和更容易測試。而且您不必依賴特定的資料庫供應商:您的 JDO 程式碼完全獨立於資料庫。您甚至不需要知道資料儲存系統是關聯式資料庫、物件資料庫,還是僅僅是一組檔案。
這本書由 JDO 規範負責人及 JDO 規範的主要貢獻者之一撰寫,是關於 JDO API 的權威著作。它為您提供了 JDO 的全面介紹,從一個簡單的應用程式開始,展示了 JDO 的許多功能。它告訴您如何使類別持久化,JDO 如何將持久化類別映射到資料庫,如何在執行時配置 JDO,如何執行交易,以及如何進行查詢。更高級的章節涵蓋了可選功能,如非交易存取和樂觀交易。書的最後討論了 JDO 在網頁應用程式和 J2EE 環境中的使用。
無論您是想了解一項有趣的新技術,還是認真考慮替代 JDBC 或 EJB CMP,您都會發現這本書是必不可少的。它提供了迄今為止最具權威性和完整性的內容。
目錄
前言
序言
1. 初步導覽
2. JDO 介面的概述
3. JDO 架構
4. 定義持久化類別
5. 資料儲存映射
6. 類別增強
7. 建立 JDO 執行環境
8. 實例管理
9. JDO 查詢語言
10. 身分
11. 生命週期狀態與轉換
12. 欄位管理
13. 快取管理
14. 非交易存取
15. 樂觀交易
16. 網頁伺服器環境
17. J2EE 應用伺服器
A. 生命週期狀態與轉換
B. JDO 元資料 DTD
C. JDO 介面與例外類別
D. JDO 查詢語言 BNF
E. 範例的原始碼
索引