Home > Store

Core Java Data Objects

Register your product to gain access to bonus material or receive a coupon.

Core Java Data Objects


  • This product currently is not for sale.
Not for Sale


  • Copyright 2004
  • Dimensions: 7 x 9 1/4
  • Pages: 576
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-140731-7
  • ISBN-13: 978-0-13-140731-2

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

Sample Content

Online Sample Chapter

Getting Started with JDO

Downloadable Sample Chapter

Untitled Document Download the Sample Chapter related to this title.

Table of Contents





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.


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.


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.


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.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership