Skip to content
Paperback Java Data Objects Book

ISBN: 0596002769

ISBN13: 9780596002763

Java Data Objects

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Very Good

$6.59
Save $33.40!
List Price $39.99
Almost Gone, Only 1 Left!

Book Overview

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,...

Customer Reviews

5 ratings

Easy to understand and detailed information!

This book is definitely the best on java data objects! i have read the one from prentice hall and addison wesley`s. its true that the first code example doesnt work, what is a shame but if you overcome your frustration and have a look at the oreilly website you can fond the correct and again detailed information (and even reason) to get it done. short cut to the correctings is : http://examples.oreilly.com/jvadtaobj/README.txt .

Excellent, Solid, JDO Book

This is a solid and very readable treatment of the JDO specification. The authors are well qualified: Craig Russell was the specification lead and David Jordan a key contributor to the expert group. They have both been involved in persistence for many years. Craig Russell is one of the authors of the JDO implementation used in the SunONE application server to implement EJB CMP.The first chapter helps to get the user started with the JDO reference implementation. In just 27 pages all the basic persistence operations are covered in the context of a simple demo application. This chapter provides enough information to get started with JDO on a project. However I would recommend using an evaluation download of one of the commercial JDO implementations or an open source JDO implementation instead of the reference implementation. The reference implementation uses a file system store and most users will want to use JDO with a relational database.Chapter 2 covers the JDO API with a short informative description of each class and interface. Chapter 3 describes different JDO architectures. This chapter is missing the "remote persistence manager" architecture supported by some JDO implementations (JDO Genie and Object Frontier). Otherwise it is complete and has very clear diagrams. Chapter 4 covers the definition of JDO meta data.Chapter 5 covers Object / Relational mapping with JDO. The JDO specification does not define any mappings (relational database mapping will be in JDO 2.0 as JDO/R) however most JDO implementations work with relational databases. The information is applicable to all O/R mapping JDO implementations as they all map in very similar ways. Forward engineering (write classes first), reverse engineering (generate classes from tables) and bridge mapping (write classes and design tables and map them together) are well explained.Chapter 6 explains how JDO byte code enhancement works. Chapter 9 is a detailed explanation of the JDO query language (JDOQL). Chapter 10 covers the different types of identity supported by JDO. Tricky topics such as compound primary keys including references to other classes are very clearly explained.The chapter titled "Web Server Environment" (16) is a bit thin on some details. For example it does not discuss giving the view (e.g. JSP pages) managed JDO instances to render. This is a very useful technique available to web applications and should have been covered.The balance of the chapters cover more advanced topics such as state transitions, local cache management, transactions, J2EE integration, field management, non-transactional access and optimistic transactions.This book succeeds in making JDO easy to understand and learn by deferring detail on complex topics to later chapters. Advanced users can read the whole book for a comprehensive understanding of the specification. I strongly recommend this book for anyone who is using or thinking about using JDO.

The only Book you need for Java Data Objects

Craig Russell, at Sun Microsystems, is the specification lead for JDO and David Jordan, at Object Identity, has been an active member of the JDO expert group since its inception.Java Data Objects provides a thorough coverage of JDO and explains how it can be used in various architectures. The reader is expected to be familiar with Java but needs only a limited knowledge of databases. In brief, Java Data Objects (JDO) insulates you from needing to know a lot about databases. JDO permits you to develop applications using your preferred Java object-oriented model, without you having to write code to translate between Java objects and how the data is stored in the database--JDO takes care of all of that for you.The first three chapters provide a high level overview of JDO by walking through a small application, exploring each of its interfaces at a high level, and introducing the architectures it might be used in. Even if you have been away from code for a while you will be able to follow most of the code example. You can stop here if you just want to understand what JDO is all about and where it can be used. These are recommended reading for a manager.Chapters 4 through 9 are required reading if you want to start developing JDO applications. They really get you into JDO, so you can understand it and start using it. The first three of these cover how to define persistent classes and fields, how they can be mapped to various databases (done for you) and the class enhancement process (which makes a lot of JDO transparent to you). The next three (chapter 7 through 9) bring home the power of JDO. These cover how to connect with a database, establish a transaction context and create, read, query, update and delete database objects. The material is made concrete by illustrating it with a detailed and intuitive example application. This example is carried throughout the book with sections of it explained as the concepts are covered.Each remaining chapter covers a different JDO concept or feature (including optional features) that were introduced earlier but not covered in detail to keep the earlier chapters more understandable. These remaining topics are identity, lifecycle states & transitions, field management, cache management, nontransactional access and optimistic transactions. You can read these chapters as you feel the need for a more in-depth understanding of these concepts.The last two chapters explain how to use JDO in an application-server environment and an Enterprise Java Beans environment. These two chapters assume you are already familiar with these environments, but I think a lot of it is understandable even if you are not.There are five appendices with everything from the lifecycle state transitions to the collected source code for many of the classes used in the example application.

An excellent book by the JDO experts

JDO has recently gained popularity as a Java data access alternative to the lower-level JDBC interface and the more complex CMP (container-managed persistence) that works only with EJBs (Enterprise Java Beans). JDO's popularity is not surprising, it provides a lot of benefits over those APIs. And I should know, I was an architect of both JDBC and J2EE...This book provides a good introduction to JDO, as well as depth on the specifics. The authors are arguably the world's most knowledgable experts on JDO, since Craig Russell is the specification lead and Dave Jordan one of the biggest contributors to the JDO expert group.

This is an excellent book about Java Data Objects(JDO)!

Java Data Objects by David Jordan and Craig Russell succeeds in giving a good introduction to JDO and providing a very good overview of the standard. The book covers all the relevant aspects of managing persistent Java objects, such as creating and deleting persistent objects, identity, queries, and transaction handling.More importantly, the authors describe how to use JDO in practice, meaning how to use JDO to write a Java application that accesses persistent data transparently. There are lots of detailed, but easy to understand code examples explaining the concepts of JDO. I like the idea that the entire book uses a single application scenario. The source code is included in the appendix.The descriptions do not depend on a particular JDO implementation. Instead, it focuses on how to write an application in a manner that is portable among different JDO implementations. Where necessary, it explains JDO's optional features and areas where JDO implementations may differ. JDO does not specify a standard for the mapping of persistent classes to specific datastores; but this is an important aspect of developing an application with JDO. There is a chapter about datastore mappings, with the focus on relational databases.There are chapters about defining persistent classes, enhancing them, and setting up the JDO runtime environment. It is easy to transfer the provided examples to your own application environment. I like the chapter on JDOQL; it provides a good and in-depth description of the JDO query language. There are extra chapters about the identity and lifecycle of persistent instances, as well as nontransactional access of persistent data. The last two chapters describe how JDO integrates into web- and application-server environment, especially J2EE application servers.
Copyright © 2023 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured