BUY THIS BOOK
Add to Cart

Print Book $39.95


Safari Books Online

What is this?

Add to UK Cart

Print Book £28.50

What is this?

Looking to Reprint this content?

Java Data Objects

By David Jordan, Craig Russell
April 2003
Pages: 380
ISBN 10: 0-596-00276-9 | ISBN 13: 9780596002763
starstarstarstarstar (Average of 2 Customer Reviews)

Buy 2 Get 1 Free Free ShippingGuarantee

Book description

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.


Full Description

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.

Browse within this book

Cover | Table of Contents | Colophon




Featured customer reviews

Write a Review


Java Data Objects Review,  February 28 2004
Rating: StarStarStarStarStar
Submitted by Mark   [Respond | View]

I give also 5 stars! It seems that is provides by far the most authoritative and complete coverage available! Mark


Java Data Objects Review,  April 17 2003
Rating: StarStarStarStarStar
Submitted by Michael Bouschen   [Respond | View]

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.



Read all reviews


Media reviews "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 JDO specification team members...All in all, an excellent tutorial and reference that will have you up and running with JDO in no time."
--Ernest Friedman-Hill, JavaRanch.com, January 2004
http://www.javaranch.com/bunkhouse/Miscellaneous.jsp#0596002769

"I would consider 'Java Data Objects' the definitive book on JDO. Anyone that is interested in JDO shouldn't miss this book."
--Chris Matthews, JavaRanch.com, May 2003
http://www.javaranch.com/bunkhouse/Miscellaneous.jsp#0596002769


"This book ... offers an authoritative and clear introduction to the subject. The opening chapter alone is worth the price of admission - it builds a small application that effectively walks through the use of a wide range of JDO capabilities. It's an exemplary piece of technical writing: clear, well-written, intelligent and immediately useful."
--Pan Pantziarka, TechBookReport
http://www.techbookreport.com/tbr0032.html

Read all reviews

See larger cover