Core Java Data Objects (Paperback)

Sameer Tyagi, Michael Vorburger, Keiron McCammon, Heiko Bobzin

  • 出版商: Prentice Hall
  • 出版日期: 2003-09-21
  • 售價: $1,750
  • 貴賓價: 9.5$1,663
  • 語言: 英文
  • 頁數: 576
  • 裝訂: Paperback
  • ISBN: 0131407317
  • ISBN-13: 9780131407312
  • 相關分類: Java 程式語言
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

Summary

The experienced Java developer's guide to persistence with JDO!

Master JDO, the breakthrough technology for persistenting Java objects!

Java Data Objects (JDO) streamlines development by providing Java-centric mechanisms for making objects persistent, and standard APIs for connecting application code with underlying persistent datastores. Core Java Data Objects is the definitive, comprehensive guide to JDO persistence for every experienced Java developer.

Using realistic code examples, this book's expert authors cover creating, reading, updating, and deleting persistent objects; object lifecycles and state transitions; JDO classes and APIs; queries, architecture, security, and much more. They show how to integrate JDO with EJB, JTA, JCA, and other J2EE technologies; and introduce best practices for using JDO in both standalone programs and J2EE components.

If you want to spend more time solving business problems and less time worrying about persistence, you need JDO. And you need the one book that'll help you make the most of JDO: Core Java Data Objects.

Every Core Series book:

  • DEMONSTRATES how to write commercial quality code
  • FEATURES nontrivial programs and examples--no toy code!
  • FOCUSES on the features and functions most important to real developers
  • PROVIDES objective, unbiased coverage of cutting-edge technologies -- no hype!

Core Java Data Objects delivers:

  • Practical examples showing how JDO can be applied to existing applications
  • Powerful insights for using JDO to architect new systems more effectively
  • Step-by-step guidance for integrating JDO with other J2EE technologies
  • Best practices for using JDO in real-world business environments

Table of Contents

Foreword.
Preface.
Acknowledgments.

I. INTRODUCTION.

1. JDO Overview.

JDO Background. Domain Object Model. Orthogonal Persistence. Non-Managed and Managed Environments. Roles and Responsibilities. Summary.

2. Object Persistence Fundamentals.

Persistence in Applications. JDK Binary Serialization. Object-Relational Mapping. Rolling Your Own Persistence Mapping Layer. Conclusion.

II. THE DETAILS.

3. Getting Started with JDO.

How Does JDO Work? The JDO Basics. Defining a Class. Connecting to a Datastore. Creating an Object. Reading an Object. Updating an Object. Deleting an Object. JDO Object Model. Exception Handling. Object Identity. Types of Object Identity. Object Lifecycles. Concurrency Control. Summary.

4. Object Lifecycle.

A Persistent Object's Lifecycle. Finding Out about an Object's State. Operations That Change State. Callbacks. Optional States. Putting It All Together. Summary.

5. Developing with JDO.

JDO Concepts. JDO Interfaces and Classes. Basic APIs. Exception Classes. Additional APIs. Service Provider Interface APIs. Summary.

6. Finding Your Data.

Finding an Object by Identity. Finding a Set of Objects Using an Extent. Finding Objects with the Query Facility. JDOQL. Queries, Filters, and Optional parameters. More on the Query Interface. Summary.

7. Architecture Scenarios.

JDO versus JDBC. RDBMS, ODBMS, and Flatfiles. J2EE, RMI, and CORBA. Managed and Non-Managed Environments. Multi-Threaded Applications. Summary.

III. J2EE.

8. JDO and the J2EE Connector Architecture.

J2EE Connector Architecture Overview. JDO and the J2EE Connector Architecture. Using JDO and the J2EE Connector Architecture. Using JDO without the J2EE Connector Architecture. Summary.

9. JDO and Enterprise JavaBeans.

Introduction. Session Beans and JDO. Message-Driven Beans and JDO. Entity Beans and JDO. To Use EJB or Not to Use EJB? Summary.

10. Security.

Security Levels. Implementing PersistenceCapable. Application Security. Summary.

11. Transactions.

Transaction Concepts. Transactions in Java. Transactions in JDO. Summary.

IV. THE CONCLUSION.

12. JDO and JDBC.

JDBC 2.0 and 3.0. Example: Storing Objects in a Relational Database Using JDBC. Comparison of JDBC and JDO. Summary.

13. Tips, Tricks and Best Practices.

Data Modeling. JDO and Servlets. Keep Domain Classes Separate from Others. Using XML as a Data Exchange Format. Validation. Summary.

14. The Road Ahead.

Advanced Transaction Semantics. Performance Optimizations. Managed Relationships. Query Enhancements. Object Mapping. Enumeration Pattern. Summary.

15. Case Study: The Core JDO Library.

Files, Packages and Object Model. Persistent Model Package. Use-case Package. BookOperation Class. Putting Things Together.

Appendix A: JDO States.

Appendix B: XML Metadata.

Appendix C: JDOQL BNF Notation.

Appendix D: PersistenceManager Factory Quick Reference.

Appendix E: JDO Implementations.

Index.

商品描述(中文翻譯)

摘要

《核心Java資料物件》是一本經驗豐富的Java開發者指南,介紹了JDO持久化技術。JDO通過提供以Java為中心的機制使對象持久化,並提供與底層持久化數據存儲庫連接的標準API,從而簡化開發流程。本書是對JDO持久化的全面指南,適合所有有經驗的Java開發者。

本書的專家作者使用實際的代碼示例,涵蓋了創建、讀取、更新和刪除持久化對象;對象生命周期和狀態轉換;JDO類和API;查詢、架構、安全性等等。他們展示了如何將JDO與EJB、JTA、JCA和其他J2EE技術集成,並介紹了在獨立程序和J2EE組件中使用JDO的最佳實踐。

如果您想花更多時間解決業務問題,而不是擔心持久化,那麼您需要JDO。而您需要的就是這本能幫助您充分利用JDO的書籍:《核心Java資料物件》。

《核心系列》的每一本書都具有以下特點:
- 演示如何編寫商業質量的代碼
- 提供非平凡的程序和示例,沒有玩具代碼
- 重點介紹對真實開發者最重要的功能和功能
- 提供客觀、公正的對最新技術的覆蓋,沒有炒作

《核心Java資料物件》提供:
- 實際示例,展示如何將JDO應用於現有應用程序
- 使用JDO更有效地設計新系統的強大見解
- 將JDO與其他J2EE技術集成的逐步指南
- 在真實商業環境中使用JDO的最佳實踐

目錄
前言
前言
致謝
第一部分:介紹
1. JDO概述
2. 對象持久化基礎知識

第二部分:詳細內容
3. 開始使用JDO
4. 對象生命周期
5. 使用JDO開發
6. 查找數據

以上是《核心Java資料物件》的摘要和目錄。