Rating:  Summary: Not properly instructed example Review: Chapter 1 of this book is available at Oreilly site. Try to make the first example work before you buy the book.
Rating:  Summary: The only Book you need for Java Data Objects Review: 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.
Rating:  Summary: Nightmare reading Review: Good books don't get discounted by 60%, because items that sell well charge a premium in our capitalistic culture. This book is unorganized. Lacks clear and cohesive sentence structure that leads to understanding. It is a step above the Enzio book, but that isn't really saying much. The code examples do run, check errata, and for some reason it is easier to read the code than a paragraph from this author. Go figure? A true nightmare, and don't be fooled by the gratuitous stars from the author's friends.
Rating:  Summary: Don't buy this book - and let me tell you why Review: I was expecting something better from the JSR lead for JDO.
Before you buy this book, go to oreilly website for this book and go through the Chapter 1 available online. That chapter could have been fit in half as many pages without loss of information.
Now refer to the errata and README available on the oreilly website, download the JDO reference implementation and see if you can run the examples.
The examples don't work even if you follow the directions from the errata and README.
By now you would have wasted a few valuable hours.
If the Chapter 1 "An Initial Tour" is a waste of time, there is no reason to expect something better in the rest of the book.
So the books sucks, but you want to learn JDO! What can you do?
Download an evaluation edition of Kodo JDO from Solarmetric. Install it and you will get a JDO Developers Guide. Go through that. It is significantly better than this book. While you are at it, you can play with Kodo and get a feel for a real implementation of JDO, rather than Sun's reference implementation.
Rating:  Summary: This is an excellent book about Java Data Objects(JDO)! Review: 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.
Rating:  Summary: Simple and elegant Review: Java Data Objects is simple and straightforward, and solves a real problem in an elegant way. Conveniently, this also serves as a description of this enjoyable book from some of the key members of the JDO specification team. If you don't know, JDO is a recently standardized API for transparent object persistence. A standalone reference implementation is available, as are quite a few commercial and open-source versions that piggyback on relational databases and other storage solutions. JDO's popularity is growing rapidly because of its simplicity, ease of use, and scalability. "Java Data Objects" is a timely and practical treatment of this new API. After a clear and accessible overview, this book first presents JDO in a tutorial style using a simple but nontrivial example application. Later chapters fill in the details where needed: for instance, a whole chapter is dedicated to the difficult topic of object identity. The motivations behind JDO's development are explained well, and comparisons to other object-persistence solutions, including EJB container-managed persistence, are fair and balanced. One of this book's few flaws is that despite the authors' important roles on the standards committee, the rationale behind some of JDO's more puzzling properties are left unexplained. In particular, JDO requires that only a small subset of the standard Collections be supported by a JDO implementation, but this book doesn't explain how this subset was chosen. All in all, an excellent tutorial and reference that will have you up and running with JDO in no time at all.
Rating:  Summary: An excellent book by the JDO experts Review: 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.
Rating:  Summary: Chapter 1 examples don't run Review: Maybe the rest of the book is Ok, or maybe not. I just tried to run the examples of the first chapter and it was impossible for me.
Rating:  Summary: Try the first example and then buy the book Review: Since the first chapter is freely available at Amazon, try to run the first example. Buy the book if you succeed without too much trouble. I have been always buy Java books from Oreilly. This one is really an exception.
Rating:  Summary: Easy to understand and detailed information! Review: 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 .
|